{"action":"created","issue":{"url":"https://api.github.com/repos/docker/machine/issues/960","labels_url":"https://api.github.com/repos/docker/machine/issues/960/labels{/name}","comments_url":"https://api.github.com/repos/docker/machine/issues/960/comments","events_url":"https://api.github.com/repos/docker/machine/issues/960/events","html_url":"https://github.com/docker/machine/pull/960","id":66330663,"number":960,"title":"for ubuntu provision append hostname to 127.0.1.1 line in /etc/hosts","user":{"login":"crunchywelch","id":3017686,"avatar_url":"https://avatars.githubusercontent.com/u/3017686?v=3","gravatar_id":"","url":"https://api.github.com/users/crunchywelch","html_url":"https://github.com/crunchywelch","followers_url":"https://api.github.com/users/crunchywelch/followers","following_url":"https://api.github.com/users/crunchywelch/following{/other_user}","gists_url":"https://api.github.com/users/crunchywelch/gists{/gist_id}","starred_url":"https://api.github.com/users/crunchywelch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crunchywelch/subscriptions","organizations_url":"https://api.github.com/users/crunchywelch/orgs","repos_url":"https://api.github.com/users/crunchywelch/repos","events_url":"https://api.github.com/users/crunchywelch/events{/privacy}","received_events_url":"https://api.github.com/users/crunchywelch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":20,"created_at":"2015-04-04T15:22:35Z","updated_at":"2015-04-22T12:15:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/docker/machine/pulls/960","html_url":"https://github.com/docker/machine/pull/960","diff_url":"https://github.com/docker/machine/pull/960.diff","patch_url":"https://github.com/docker/machine/pull/960.patch"},"body":"we should do it this way instead of appending a record for 127.0.0.1 to the file itself. Two reasons for this:\r\n\r\n1) you should not have multiple lines in /etc/hosts with the same ip address\r\n2) ubuntu/debian use 127.0.1.1 for this purpose as described here:\r\n\r\nhttps://www.debian.org/doc/manuals/debian-reference/ch05.en.html#_the_hostname_resolution\r\n\r\nand further discussed here:\r\nhttps://bugs.debian.org/cgi-bin/bugreport.cgi?bug=316099\r\n\r\nSigned-off-by: Aaron Welch <welch@packet.net>"},"comment":{"url":"https://api.github.com/repos/docker/machine/issues/comments/95153327","html_url":"https://github.com/docker/machine/pull/960#issuecomment-95153327","issue_url":"https://api.github.com/repos/docker/machine/issues/960","id":95153327,"user":{"login":"ehazlett","id":260642,"avatar_url":"https://avatars.githubusercontent.com/u/260642?v=3","gravatar_id":"","url":"https://api.github.com/users/ehazlett","html_url":"https://github.com/ehazlett","followers_url":"https://api.github.com/users/ehazlett/followers","following_url":"https://api.github.com/users/ehazlett/following{/other_user}","gists_url":"https://api.github.com/users/ehazlett/gists{/gist_id}","starred_url":"https://api.github.com/users/ehazlett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehazlett/subscriptions","organizations_url":"https://api.github.com/users/ehazlett/orgs","repos_url":"https://api.github.com/users/ehazlett/repos","events_url":"https://api.github.com/users/ehazlett/events{/privacy}","received_events_url":"https://api.github.com/users/ehazlett/received_events","type":"User","site_admin":false},"created_at":"2015-04-22T12:15:19Z","updated_at":"2015-04-22T12:15:19Z","body":"Same with Rackspace"}}