{"action":"opened","issue":{"url":"https://api.github.com/repos/rancherio/os/issues/156","labels_url":"https://api.github.com/repos/rancherio/os/issues/156/labels{/name}","comments_url":"https://api.github.com/repos/rancherio/os/issues/156/comments","events_url":"https://api.github.com/repos/rancherio/os/issues/156/events","html_url":"https://github.com/rancherio/os/issues/156","id":67692955,"number":156,"title":"cloud-init would not run services on first boot","user":{"login":"imikushin","id":931932,"avatar_url":"https://avatars.githubusercontent.com/u/931932?v=3","gravatar_id":"","url":"https://api.github.com/users/imikushin","html_url":"https://github.com/imikushin","followers_url":"https://api.github.com/users/imikushin/followers","following_url":"https://api.github.com/users/imikushin/following{/other_user}","gists_url":"https://api.github.com/users/imikushin/gists{/gist_id}","starred_url":"https://api.github.com/users/imikushin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imikushin/subscriptions","organizations_url":"https://api.github.com/users/imikushin/orgs","repos_url":"https://api.github.com/users/imikushin/repos","events_url":"https://api.github.com/users/imikushin/events{/privacy}","received_events_url":"https://api.github.com/users/imikushin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-10T22:04:59Z","updated_at":"2015-04-10T22:04:59Z","closed_at":null,"body":"Suppose we perform a clean RancherOS install and supply the following file (`waagent-init.yml`) as cloud-config source:\r\n```yml\r\n#cloud-config\r\nrancher:\r\n  enabled_services:\r\n  - /var/lib/rancher/conf/waagent.yml\r\n```\r\nWhat's weird is services specified in `waagent.yml` (already in place) do not get started on the first boot, even though the cloud-config gets correctly parsed and applied. Here's how `/var/lib/rancher/conf/rancher.yml` looks:\r\n```yml\r\ncloud_init:\r\n  datasources:\r\n  - file:/var/lib/rancher/conf/waagent-init.yml\r\nenabled_services:\r\n- /var/lib/rancher/conf/waagent.yml\r\n```\r\nOn the following boots the services do get run though. "}}