{"action":"created","comment":{"url":"https://api.github.com/repos/g8os/initramfs/pulls/comments/115187340","pull_request_review_id":36706245,"id":115187340,"diff_hunk":"@@ -33,6 +33,9 @@ case \"$1\" in\n \t\t\t\t: $(( metric += 1 ))\n \t\t\tdone\n \t\tfi\n+        if [ -n \"$hostname\" ] ; then\n+            hostname \"$hostname\"\n+        fi","path":"config/udhcp/simple.script","position":null,"original_position":6,"commit_id":"2ae872b3e539cfdec9f81cb6d61e26ad06cfdd64","original_commit_id":"a24aeeef82afa4a5a581f6999ccdbd7362cbcf7b","user":{"login":"maxux","id":4141584,"avatar_url":"https://avatars0.githubusercontent.com/u/4141584?v=3","gravatar_id":"","url":"https://api.github.com/users/maxux","html_url":"https://github.com/maxux","followers_url":"https://api.github.com/users/maxux/followers","following_url":"https://api.github.com/users/maxux/following{/other_user}","gists_url":"https://api.github.com/users/maxux/gists{/gist_id}","starred_url":"https://api.github.com/users/maxux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxux/subscriptions","organizations_url":"https://api.github.com/users/maxux/orgs","repos_url":"https://api.github.com/users/maxux/repos","events_url":"https://api.github.com/users/maxux/events{/privacy}","received_events_url":"https://api.github.com/users/maxux/received_events","type":"User","site_admin":false},"body":"Maybe for a first version, just sed /d the 127.0.0.1 and ::1 lines and rewrite them","created_at":"2017-05-08T07:26:00Z","updated_at":"2017-05-08T07:26:00Z","html_url":"https://github.com/g8os/initramfs/pull/22#discussion_r115187340","pull_request_url":"https://api.github.com/repos/g8os/initramfs/pulls/22","_links":{"self":{"href":"https://api.github.com/repos/g8os/initramfs/pulls/comments/115187340"},"html":{"href":"https://github.com/g8os/initramfs/pull/22#discussion_r115187340"},"pull_request":{"href":"https://api.github.com/repos/g8os/initramfs/pulls/22"}}},"pull_request":{"url":"https://api.github.com/repos/g8os/initramfs/pulls/22","id":119385617,"html_url":"https://github.com/g8os/initramfs/pull/22","diff_url":"https://github.com/g8os/initramfs/pull/22.diff","patch_url":"https://github.com/g8os/initramfs/pull/22.patch","issue_url":"https://api.github.com/repos/g8os/initramfs/issues/22","number":22,"state":"open","locked":false,"title":"Set hostname when dhcp provides it","user":{"login":"grimpy","id":143869,"avatar_url":"https://avatars2.githubusercontent.com/u/143869?v=3","gravatar_id":"","url":"https://api.github.com/users/grimpy","html_url":"https://github.com/grimpy","followers_url":"https://api.github.com/users/grimpy/followers","following_url":"https://api.github.com/users/grimpy/following{/other_user}","gists_url":"https://api.github.com/users/grimpy/gists{/gist_id}","starred_url":"https://api.github.com/users/grimpy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grimpy/subscriptions","organizations_url":"https://api.github.com/users/grimpy/orgs","repos_url":"https://api.github.com/users/grimpy/repos","events_url":"https://api.github.com/users/grimpy/events{/privacy}","received_events_url":"https://api.github.com/users/grimpy/received_events","type":"User","site_admin":false},"body":"Signed-off-by: Jo De Boeck <deboeck.jo@gmail.com>","created_at":"2017-05-08T06:39:57Z","updated_at":"2017-05-08T07:26:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5be8c6f2372a890e25fe111c242f0af14b521211","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/g8os/initramfs/pulls/22/commits","review_comments_url":"https://api.github.com/repos/g8os/initramfs/pulls/22/comments","review_comment_url":"https://api.github.com/repos/g8os/initramfs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/g8os/initramfs/issues/22/comments","statuses_url":"https://api.github.com/repos/g8os/initramfs/statuses/2ae872b3e539cfdec9f81cb6d61e26ad06cfdd64","head":{"label":"g8os:1.1.0-alpha_hostname","ref":"1.1.0-alpha_hostname","sha":"2ae872b3e539cfdec9f81cb6d61e26ad06cfdd64","user":{"login":"g8os","id":17511685,"avatar_url":"https://avatars1.githubusercontent.com/u/17511685?v=3","gravatar_id":"","url":"https://api.github.com/users/g8os","html_url":"https://github.com/g8os","followers_url":"https://api.github.com/users/g8os/followers","following_url":"https://api.github.com/users/g8os/following{/other_user}","gists_url":"https://api.github.com/users/g8os/gists{/gist_id}","starred_url":"https://api.github.com/users/g8os/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/g8os/subscriptions","organizations_url":"https://api.github.com/users/g8os/orgs","repos_url":"https://api.github.com/users/g8os/repos","events_url":"https://api.github.com/users/g8os/events{/privacy}","received_events_url":"https://api.github.com/users/g8os/received_events","type":"Organization","site_admin":false},"repo":{"id":74479286,"name":"initramfs","full_name":"g8os/initramfs","owner":{"login":"g8os","id":17511685,"avatar_url":"https://avatars1.githubusercontent.com/u/17511685?v=3","gravatar_id":"","url":"https://api.github.com/users/g8os","html_url":"https://github.com/g8os","followers_url":"https://api.github.com/users/g8os/followers","following_url":"https://api.github.com/users/g8os/following{/other_user}","gists_url":"https://api.github.com/users/g8os/gists{/gist_id}","starred_url":"https://api.github.com/users/g8os/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/g8os/subscriptions","organizations_url":"https://api.github.com/users/g8os/orgs","repos_url":"https://api.github.com/users/g8os/repos","events_url":"https://api.github.com/users/g8os/events{/privacy}","received_events_url":"https://api.github.com/users/g8os/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/g8os/initramfs","description":"G8OS Initramfs Builder","fork":false,"url":"https://api.github.com/repos/g8os/initramfs","forks_url":"https://api.github.com/repos/g8os/initramfs/forks","keys_url":"https://api.github.com/repos/g8os/initramfs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/g8os/initramfs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/g8os/initramfs/teams","hooks_url":"https://api.github.com/repos/g8os/initramfs/hooks","issue_events_url":"https://api.github.com/repos/g8os/initramfs/issues/events{/number}","events_url":"https://api.github.com/repos/g8os/initramfs/events","assignees_url":"https://api.github.com/repos/g8os/initramfs/assignees{/user}","branches_url":"https://api.github.com/repos/g8os/initramfs/branches{/branch}","tags_url":"https://api.github.com/repos/g8os/initramfs/tags","blobs_url":"https://api.github.com/repos/g8os/initramfs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/g8os/initramfs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/g8os/initramfs/git/refs{/sha}","trees_url":"https://api.github.com/repos/g8os/initramfs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/g8os/initramfs/statuses/{sha}","languages_url":"https://api.github.com/repos/g8os/initramfs/languages","stargazers_url":"https://api.github.com/repos/g8os/initramfs/stargazers","contributors_url":"https://api.github.com/repos/g8os/initramfs/contributors","subscribers_url":"https://api.github.com/repos/g8os/initramfs/subscribers","subscription_url":"https://api.github.com/repos/g8os/initramfs/subscription","commits_url":"https://api.github.com/repos/g8os/initramfs/commits{/sha}","git_commits_url":"https://api.github.com/repos/g8os/initramfs/git/commits{/sha}","comments_url":"https://api.github.com/repos/g8os/initramfs/comments{/number}","issue_comment_url":"https://api.github.com/repos/g8os/initramfs/issues/comments{/number}","contents_url":"https://api.github.com/repos/g8os/initramfs/contents/{+path}","compare_url":"https://api.github.com/repos/g8os/initramfs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/g8os/initramfs/merges","archive_url":"https://api.github.com/repos/g8os/initramfs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/g8os/initramfs/downloads","issues_url":"https://api.github.com/repos/g8os/initramfs/issues{/number}","pulls_url":"https://api.github.com/repos/g8os/initramfs/pulls{/number}","milestones_url":"https://api.github.com/repos/g8os/initramfs/milestones{/number}","notifications_url":"https://api.github.com/repos/g8os/initramfs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/g8os/initramfs/labels{/name}","releases_url":"https://api.github.com/repos/g8os/initramfs/releases{/id}","deployments_url":"https://api.github.com/repos/g8os/initramfs/deployments","created_at":"2016-11-22T14:15:28Z","updated_at":"2017-04-05T08:14:08Z","pushed_at":"2017-05-08T07:20:04Z","git_url":"git://github.com/g8os/initramfs.git","ssh_url":"git@github.com:g8os/initramfs.git","clone_url":"https://github.com/g8os/initramfs.git","svn_url":"https://github.com/g8os/initramfs","homepage":"","size":204,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"g8os:1.1.0-alpha","ref":"1.1.0-alpha","sha":"1cf845e3a46e23c411a284c7603cc66ed8c285fb","user":{"login":"g8os","id":17511685,"avatar_url":"https://avatars1.githubusercontent.com/u/17511685?v=3","gravatar_id":"","url":"https://api.github.com/users/g8os","html_url":"https://github.com/g8os","followers_url":"https://api.github.com/users/g8os/followers","following_url":"https://api.github.com/users/g8os/following{/other_user}","gists_url":"https://api.github.com/users/g8os/gists{/gist_id}","starred_url":"https://api.github.com/users/g8os/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/g8os/subscriptions","organizations_url":"https://api.github.com/users/g8os/orgs","repos_url":"https://api.github.com/users/g8os/repos","events_url":"https://api.github.com/users/g8os/events{/privacy}","received_events_url":"https://api.github.com/users/g8os/received_events","type":"Organization","site_admin":false},"repo":{"id":74479286,"name":"initramfs","full_name":"g8os/initramfs","owner":{"login":"g8os","id":17511685,"avatar_url":"https://avatars1.githubusercontent.com/u/17511685?v=3","gravatar_id":"","url":"https://api.github.com/users/g8os","html_url":"https://github.com/g8os","followers_url":"https://api.github.com/users/g8os/followers","following_url":"https://api.github.com/users/g8os/following{/other_user}","gists_url":"https://api.github.com/users/g8os/gists{/gist_id}","starred_url":"https://api.github.com/users/g8os/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/g8os/subscriptions","organizations_url":"https://api.github.com/users/g8os/orgs","repos_url":"https://api.github.com/users/g8os/repos","events_url":"https://api.github.com/users/g8os/events{/privacy}","received_events_url":"https://api.github.com/users/g8os/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/g8os/initramfs","description":"G8OS Initramfs Builder","fork":false,"url":"https://api.github.com/repos/g8os/initramfs","forks_url":"https://api.github.com/repos/g8os/initramfs/forks","keys_url":"https://api.github.com/repos/g8os/initramfs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/g8os/initramfs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/g8os/initramfs/teams","hooks_url":"https://api.github.com/repos/g8os/initramfs/hooks","issue_events_url":"https://api.github.com/repos/g8os/initramfs/issues/events{/number}","events_url":"https://api.github.com/repos/g8os/initramfs/events","assignees_url":"https://api.github.com/repos/g8os/initramfs/assignees{/user}","branches_url":"https://api.github.com/repos/g8os/initramfs/branches{/branch}","tags_url":"https://api.github.com/repos/g8os/initramfs/tags","blobs_url":"https://api.github.com/repos/g8os/initramfs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/g8os/initramfs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/g8os/initramfs/git/refs{/sha}","trees_url":"https://api.github.com/repos/g8os/initramfs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/g8os/initramfs/statuses/{sha}","languages_url":"https://api.github.com/repos/g8os/initramfs/languages","stargazers_url":"https://api.github.com/repos/g8os/initramfs/stargazers","contributors_url":"https://api.github.com/repos/g8os/initramfs/contributors","subscribers_url":"https://api.github.com/repos/g8os/initramfs/subscribers","subscription_url":"https://api.github.com/repos/g8os/initramfs/subscription","commits_url":"https://api.github.com/repos/g8os/initramfs/commits{/sha}","git_commits_url":"https://api.github.com/repos/g8os/initramfs/git/commits{/sha}","comments_url":"https://api.github.com/repos/g8os/initramfs/comments{/number}","issue_comment_url":"https://api.github.com/repos/g8os/initramfs/issues/comments{/number}","contents_url":"https://api.github.com/repos/g8os/initramfs/contents/{+path}","compare_url":"https://api.github.com/repos/g8os/initramfs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/g8os/initramfs/merges","archive_url":"https://api.github.com/repos/g8os/initramfs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/g8os/initramfs/downloads","issues_url":"https://api.github.com/repos/g8os/initramfs/issues{/number}","pulls_url":"https://api.github.com/repos/g8os/initramfs/pulls{/number}","milestones_url":"https://api.github.com/repos/g8os/initramfs/milestones{/number}","notifications_url":"https://api.github.com/repos/g8os/initramfs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/g8os/initramfs/labels{/name}","releases_url":"https://api.github.com/repos/g8os/initramfs/releases{/id}","deployments_url":"https://api.github.com/repos/g8os/initramfs/deployments","created_at":"2016-11-22T14:15:28Z","updated_at":"2017-04-05T08:14:08Z","pushed_at":"2017-05-08T07:20:04Z","git_url":"git://github.com/g8os/initramfs.git","ssh_url":"git@github.com:g8os/initramfs.git","clone_url":"https://github.com/g8os/initramfs.git","svn_url":"https://github.com/g8os/initramfs","homepage":"","size":204,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/g8os/initramfs/pulls/22"},"html":{"href":"https://github.com/g8os/initramfs/pull/22"},"issue":{"href":"https://api.github.com/repos/g8os/initramfs/issues/22"},"comments":{"href":"https://api.github.com/repos/g8os/initramfs/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/g8os/initramfs/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/g8os/initramfs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/g8os/initramfs/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/g8os/initramfs/statuses/2ae872b3e539cfdec9f81cb6d61e26ad06cfdd64"}}}}
{"actor":{"display_login":"maxux"}}