{"action":"created","issue":{"url":"https://api.github.com/repos/rancher/os/issues/2404","repository_url":"https://api.github.com/repos/rancher/os","labels_url":"https://api.github.com/repos/rancher/os/issues/2404/labels{/name}","comments_url":"https://api.github.com/repos/rancher/os/issues/2404/comments","events_url":"https://api.github.com/repos/rancher/os/issues/2404/events","html_url":"https://github.com/rancher/os/issues/2404","id":339489525,"node_id":"MDU6SXNzdWUzMzk0ODk1MjU=","number":2404,"title":"Rancher host starts with wrong hostname","user":{"login":"palbiez","id":34204520,"node_id":"MDQ6VXNlcjM0MjA0NTIw","avatar_url":"https://avatars1.githubusercontent.com/u/34204520?v=4","gravatar_id":"","url":"https://api.github.com/users/palbiez","html_url":"https://github.com/palbiez","followers_url":"https://api.github.com/users/palbiez/followers","following_url":"https://api.github.com/users/palbiez/following{/other_user}","gists_url":"https://api.github.com/users/palbiez/gists{/gist_id}","starred_url":"https://api.github.com/users/palbiez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palbiez/subscriptions","organizations_url":"https://api.github.com/users/palbiez/orgs","repos_url":"https://api.github.com/users/palbiez/repos","events_url":"https://api.github.com/users/palbiez/events{/privacy}","received_events_url":"https://api.github.com/users/palbiez/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/rancher/os/milestones/38","html_url":"https://github.com/rancher/os/milestone/38","labels_url":"https://api.github.com/repos/rancher/os/milestones/38/labels","id":3400953,"node_id":"MDk6TWlsZXN0b25lMzQwMDk1Mw==","number":38,"title":"v1.5.0","description":"","creator":{"login":"niusmallnan","id":998984,"node_id":"MDQ6VXNlcjk5ODk4NA==","avatar_url":"https://avatars1.githubusercontent.com/u/998984?v=4","gravatar_id":"","url":"https://api.github.com/users/niusmallnan","html_url":"https://github.com/niusmallnan","followers_url":"https://api.github.com/users/niusmallnan/followers","following_url":"https://api.github.com/users/niusmallnan/following{/other_user}","gists_url":"https://api.github.com/users/niusmallnan/gists{/gist_id}","starred_url":"https://api.github.com/users/niusmallnan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niusmallnan/subscriptions","organizations_url":"https://api.github.com/users/niusmallnan/orgs","repos_url":"https://api.github.com/users/niusmallnan/repos","events_url":"https://api.github.com/users/niusmallnan/events{/privacy}","received_events_url":"https://api.github.com/users/niusmallnan/received_events","type":"User","site_admin":false},"open_issues":19,"closed_issues":3,"state":"open","created_at":"2018-06-05T05:12:49Z","updated_at":"2018-08-06T02:33:54Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2018-07-09T15:07:12Z","updated_at":"2018-08-07T06:38:50Z","closed_at":null,"author_association":"NONE","body":"**RancherOS Version: (ros os version)** v1.4.0\r\n**Where are you running RancherOS? (docker-machine, AWS, GCE, baremetal, etc.)** VMWare\r\n\r\nWe are working with 3 rancherOS hosts and one Ubuntu host. \r\nAll hosts are working with DHCP and get a fixed IP by DHCP server\r\nAt every time we're restarting one of our rancherOS hosts we have a wrong entry at DNS. \r\nEntry in DNS should be rancher = 10.0.2.19\r\nAfter reboot from rancherOS \r\nDNS Entry is rancher = 10.0.1.xx Number of rancherOS host. \r\n\r\nWe changed the hostname at installation to rancherworkerX. Also we override the default hostname in boot.yml.\r\n\r\nCan you please check and tell me if you need any logfiles?\r\n\r\nThanks in advance"},"comment":{"url":"https://api.github.com/repos/rancher/os/issues/comments/410950076","html_url":"https://github.com/rancher/os/issues/2404#issuecomment-410950076","issue_url":"https://api.github.com/repos/rancher/os/issues/2404","id":410950076,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMDk1MDA3Ng==","user":{"login":"niusmallnan","id":998984,"node_id":"MDQ6VXNlcjk5ODk4NA==","avatar_url":"https://avatars1.githubusercontent.com/u/998984?v=4","gravatar_id":"","url":"https://api.github.com/users/niusmallnan","html_url":"https://github.com/niusmallnan","followers_url":"https://api.github.com/users/niusmallnan/followers","following_url":"https://api.github.com/users/niusmallnan/following{/other_user}","gists_url":"https://api.github.com/users/niusmallnan/gists{/gist_id}","starred_url":"https://api.github.com/users/niusmallnan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niusmallnan/subscriptions","organizations_url":"https://api.github.com/users/niusmallnan/orgs","repos_url":"https://api.github.com/users/niusmallnan/repos","events_url":"https://api.github.com/users/niusmallnan/events{/privacy}","received_events_url":"https://api.github.com/users/niusmallnan/received_events","type":"User","site_admin":false},"created_at":"2018-08-07T06:38:50Z","updated_at":"2018-08-07T06:38:50Z","author_association":"MEMBER","body":"RancherOS uses the default hostname `rancher` when booting, after getting the new hostname via DHCP, RancherOS will update the hostname.\r\n\r\nI don‘t have a PFSense setup, but there are two ways that you can change the default hostname.\r\n\r\n1. add a kernel parameter `rancher.hostname=rancherxworker`,  \r\n2. update the `hostname` in  ` /usr/share/ros/os-config.yml`\r\n\r\nThese allow RancherOS to use the newly configured hostname during the earliest boot process."}}
{"actor":{"display_login":"niusmallnan"}}