{"action":"created","issue":{"url":"https://api.github.com/repos/OpenNebula/addon-context-linux/issues/25","labels_url":"https://api.github.com/repos/OpenNebula/addon-context-linux/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/OpenNebula/addon-context-linux/issues/25/comments","events_url":"https://api.github.com/repos/OpenNebula/addon-context-linux/issues/25/events","html_url":"https://github.com/OpenNebula/addon-context-linux/pull/25","id":122946152,"number":25,"title":"Set ${PASSWORD} for ${USERNAME}","user":{"login":"baby-gnu","id":1233212,"avatar_url":"https://avatars.githubusercontent.com/u/1233212?v=3","gravatar_id":"","url":"https://api.github.com/users/baby-gnu","html_url":"https://github.com/baby-gnu","followers_url":"https://api.github.com/users/baby-gnu/followers","following_url":"https://api.github.com/users/baby-gnu/following{/other_user}","gists_url":"https://api.github.com/users/baby-gnu/gists{/gist_id}","starred_url":"https://api.github.com/users/baby-gnu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baby-gnu/subscriptions","organizations_url":"https://api.github.com/users/baby-gnu/orgs","repos_url":"https://api.github.com/users/baby-gnu/repos","events_url":"https://api.github.com/users/baby-gnu/events{/privacy}","received_events_url":"https://api.github.com/users/baby-gnu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-18T13:12:22Z","updated_at":"2015-12-18T18:33:30Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/OpenNebula/addon-context-linux/pulls/25","html_url":"https://github.com/OpenNebula/addon-context-linux/pull/25","diff_url":"https://github.com/OpenNebula/addon-context-linux/pull/25.diff","patch_url":"https://github.com/OpenNebula/addon-context-linux/pull/25.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/OpenNebula/addon-context-linux/issues/comments/165865405","html_url":"https://github.com/OpenNebula/addon-context-linux/pull/25#issuecomment-165865405","issue_url":"https://api.github.com/repos/OpenNebula/addon-context-linux/issues/25","id":165865405,"user":{"login":"baby-gnu","id":1233212,"avatar_url":"https://avatars.githubusercontent.com/u/1233212?v=3","gravatar_id":"","url":"https://api.github.com/users/baby-gnu","html_url":"https://github.com/baby-gnu","followers_url":"https://api.github.com/users/baby-gnu/followers","following_url":"https://api.github.com/users/baby-gnu/following{/other_user}","gists_url":"https://api.github.com/users/baby-gnu/gists{/gist_id}","starred_url":"https://api.github.com/users/baby-gnu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baby-gnu/subscriptions","organizations_url":"https://api.github.com/users/baby-gnu/orgs","repos_url":"https://api.github.com/users/baby-gnu/repos","events_url":"https://api.github.com/users/baby-gnu/events{/privacy}","received_events_url":"https://api.github.com/users/baby-gnu/received_events","type":"User","site_admin":false},"created_at":"2015-12-18T18:33:30Z","updated_at":"2015-12-18T18:33:30Z","body":"Hello,\r\n\r\nI was not sure to fallback on `root` if `${USERNAME}` does not exist.\r\n\r\nFor the use case, when preparing an image for context, we define which user can do what, then the `${USERNAME}` is set directly in the template and `${PASSWORD}` as a user input.\r\n\r\nWe have a custom, per distrib, context script which do whatever needed to create `${USERNAME}` and set sudo authorization.\r\n\r\nRegards."}}