{"action":"reopened","number":1939,"pull_request":{"url":"https://api.github.com/repos/theforeman/foreman/pulls/1939","id":24496443,"html_url":"https://github.com/theforeman/foreman/pull/1939","diff_url":"https://github.com/theforeman/foreman/pull/1939.diff","patch_url":"https://github.com/theforeman/foreman/pull/1939.patch","issue_url":"https://api.github.com/repos/theforeman/foreman/issues/1939","number":1939,"state":"open","locked":false,"title":"Fixes #8289 - cloudinit from rhev/ovirt support","user":{"login":"karmab","id":1840387,"avatar_url":"https://avatars.githubusercontent.com/u/1840387?v=3","gravatar_id":"","url":"https://api.github.com/users/karmab","html_url":"https://github.com/karmab","followers_url":"https://api.github.com/users/karmab/followers","following_url":"https://api.github.com/users/karmab/following{/other_user}","gists_url":"https://api.github.com/users/karmab/gists{/gist_id}","starred_url":"https://api.github.com/users/karmab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karmab/subscriptions","organizations_url":"https://api.github.com/users/karmab/orgs","repos_url":"https://api.github.com/users/karmab/repos","events_url":"https://api.github.com/users/karmab/events{/privacy}","received_events_url":"https://api.github.com/users/karmab/received_events","type":"User","site_admin":false},"body":"so this is the foreman part to handle cloud-init from rhev and as such user_data templates\r\nit relies on the following pending PR\r\nhttps://github.com/abenari/rbovirt/pull/48\r\nand\r\nhttps://github.com/fog/fog/pull/3250\r\ni used the following user_data sample\r\n```json\r\n#cloud-config\r\nhostname: <%= @host.name %>\r\nnicname: eth0\r\nnetmask: <%= @host.subnet.mask %>\r\ngateway: <%= @host.subnet.gateway %> \r\nip: <%= @host.ip %>\r\ndns:\r\n - <%= @host.subnet.dns_primary %>\r\ndomain: <%= @host.domain %>\r\npassword: <%= root_pass %> \r\nssh_authorized_keys:\r\n - ssh-rsa XXXX federer@bumblefoot\r\nruncmd:\r\n - echo superbien > /tmp/prout1\r\n - echo 2280 > /tmp/prout2\r\n```\r\n\r\n\r\n\r\n\r\n\r\n","created_at":"2014-11-16T01:00:23Z","updated_at":"2015-01-27T11:10:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ea03b63d235bf4244870178667e5268d3774ba8f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/theforeman/foreman/pulls/1939/commits","review_comments_url":"https://api.github.com/repos/theforeman/foreman/pulls/1939/comments","review_comment_url":"https://api.github.com/repos/theforeman/foreman/pulls/comments/{number}","comments_url":"https://api.github.com/repos/theforeman/foreman/issues/1939/comments","statuses_url":"https://api.github.com/repos/theforeman/foreman/statuses/3bcae8dd1136e69ccc0df28c93d1d1563e430999","head":{"label":"karmab:8289_cloudinitrhev","ref":"8289_cloudinitrhev","sha":"3bcae8dd1136e69ccc0df28c93d1d1563e430999","user":{"login":"karmab","id":1840387,"avatar_url":"https://avatars.githubusercontent.com/u/1840387?v=3","gravatar_id":"","url":"https://api.github.com/users/karmab","html_url":"https://github.com/karmab","followers_url":"https://api.github.com/users/karmab/followers","following_url":"https://api.github.com/users/karmab/following{/other_user}","gists_url":"https://api.github.com/users/karmab/gists{/gist_id}","starred_url":"https://api.github.com/users/karmab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karmab/subscriptions","organizations_url":"https://api.github.com/users/karmab/orgs","repos_url":"https://api.github.com/users/karmab/repos","events_url":"https://api.github.com/users/karmab/events{/privacy}","received_events_url":"https://api.github.com/users/karmab/received_events","type":"User","site_admin":false},"repo":{"id":24378155,"name":"foreman-1","full_name":"karmab/foreman-1","owner":{"login":"karmab","id":1840387,"avatar_url":"https://avatars.githubusercontent.com/u/1840387?v=3","gravatar_id":"","url":"https://api.github.com/users/karmab","html_url":"https://github.com/karmab","followers_url":"https://api.github.com/users/karmab/followers","following_url":"https://api.github.com/users/karmab/following{/other_user}","gists_url":"https://api.github.com/users/karmab/gists{/gist_id}","starred_url":"https://api.github.com/users/karmab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karmab/subscriptions","organizations_url":"https://api.github.com/users/karmab/orgs","repos_url":"https://api.github.com/users/karmab/repos","events_url":"https://api.github.com/users/karmab/events{/privacy}","received_events_url":"https://api.github.com/users/karmab/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/karmab/foreman-1","description":"an application that automates the lifecycle of servers ","fork":true,"url":"https://api.github.com/repos/karmab/foreman-1","forks_url":"https://api.github.com/repos/karmab/foreman-1/forks","keys_url":"https://api.github.com/repos/karmab/foreman-1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/karmab/foreman-1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/karmab/foreman-1/teams","hooks_url":"https://api.github.com/repos/karmab/foreman-1/hooks","issue_events_url":"https://api.github.com/repos/karmab/foreman-1/issues/events{/number}","events_url":"https://api.github.com/repos/karmab/foreman-1/events","assignees_url":"https://api.github.com/repos/karmab/foreman-1/assignees{/user}","branches_url":"https://api.github.com/repos/karmab/foreman-1/branches{/branch}","tags_url":"https://api.github.com/repos/karmab/foreman-1/tags","blobs_url":"https://api.github.com/repos/karmab/foreman-1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/karmab/foreman-1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/karmab/foreman-1/git/refs{/sha}","trees_url":"https://api.github.com/repos/karmab/foreman-1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/karmab/foreman-1/statuses/{sha}","languages_url":"https://api.github.com/repos/karmab/foreman-1/languages","stargazers_url":"https://api.github.com/repos/karmab/foreman-1/stargazers","contributors_url":"https://api.github.com/repos/karmab/foreman-1/contributors","subscribers_url":"https://api.github.com/repos/karmab/foreman-1/subscribers","subscription_url":"https://api.github.com/repos/karmab/foreman-1/subscription","commits_url":"https://api.github.com/repos/karmab/foreman-1/commits{/sha}","git_commits_url":"https://api.github.com/repos/karmab/foreman-1/git/commits{/sha}","comments_url":"https://api.github.com/repos/karmab/foreman-1/comments{/number}","issue_comment_url":"https://api.github.com/repos/karmab/foreman-1/issues/comments/{number}","contents_url":"https://api.github.com/repos/karmab/foreman-1/contents/{+path}","compare_url":"https://api.github.com/repos/karmab/foreman-1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/karmab/foreman-1/merges","archive_url":"https://api.github.com/repos/karmab/foreman-1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/karmab/foreman-1/downloads","issues_url":"https://api.github.com/repos/karmab/foreman-1/issues{/number}","pulls_url":"https://api.github.com/repos/karmab/foreman-1/pulls{/number}","milestones_url":"https://api.github.com/repos/karmab/foreman-1/milestones{/number}","notifications_url":"https://api.github.com/repos/karmab/foreman-1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/karmab/foreman-1/labels{/name}","releases_url":"https://api.github.com/repos/karmab/foreman-1/releases{/id}","created_at":"2014-09-23T15:50:22Z","updated_at":"2014-09-23T09:51:10Z","pushed_at":"2015-01-27T11:09:49Z","git_url":"git://github.com/karmab/foreman-1.git","ssh_url":"git@github.com:karmab/foreman-1.git","clone_url":"https://github.com/karmab/foreman-1.git","svn_url":"https://github.com/karmab/foreman-1","homepage":"http://theforeman.org","size":23607,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"theforeman:develop","ref":"develop","sha":"e86494a89e3b7f71850b6582be4d05b7badaab21","user":{"login":"theforeman","id":1439844,"avatar_url":"https://avatars.githubusercontent.com/u/1439844?v=3","gravatar_id":"","url":"https://api.github.com/users/theforeman","html_url":"https://github.com/theforeman","followers_url":"https://api.github.com/users/theforeman/followers","following_url":"https://api.github.com/users/theforeman/following{/other_user}","gists_url":"https://api.github.com/users/theforeman/gists{/gist_id}","starred_url":"https://api.github.com/users/theforeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theforeman/subscriptions","organizations_url":"https://api.github.com/users/theforeman/orgs","repos_url":"https://api.github.com/users/theforeman/repos","events_url":"https://api.github.com/users/theforeman/events{/privacy}","received_events_url":"https://api.github.com/users/theforeman/received_events","type":"Organization","site_admin":false},"repo":{"id":258750,"name":"foreman","full_name":"theforeman/foreman","owner":{"login":"theforeman","id":1439844,"avatar_url":"https://avatars.githubusercontent.com/u/1439844?v=3","gravatar_id":"","url":"https://api.github.com/users/theforeman","html_url":"https://github.com/theforeman","followers_url":"https://api.github.com/users/theforeman/followers","following_url":"https://api.github.com/users/theforeman/following{/other_user}","gists_url":"https://api.github.com/users/theforeman/gists{/gist_id}","starred_url":"https://api.github.com/users/theforeman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theforeman/subscriptions","organizations_url":"https://api.github.com/users/theforeman/orgs","repos_url":"https://api.github.com/users/theforeman/repos","events_url":"https://api.github.com/users/theforeman/events{/privacy}","received_events_url":"https://api.github.com/users/theforeman/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/theforeman/foreman","description":"an application that automates the lifecycle of servers ","fork":false,"url":"https://api.github.com/repos/theforeman/foreman","forks_url":"https://api.github.com/repos/theforeman/foreman/forks","keys_url":"https://api.github.com/repos/theforeman/foreman/keys{/key_id}","collaborators_url":"https://api.github.com/repos/theforeman/foreman/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/theforeman/foreman/teams","hooks_url":"https://api.github.com/repos/theforeman/foreman/hooks","issue_events_url":"https://api.github.com/repos/theforeman/foreman/issues/events{/number}","events_url":"https://api.github.com/repos/theforeman/foreman/events","assignees_url":"https://api.github.com/repos/theforeman/foreman/assignees{/user}","branches_url":"https://api.github.com/repos/theforeman/foreman/branches{/branch}","tags_url":"https://api.github.com/repos/theforeman/foreman/tags","blobs_url":"https://api.github.com/repos/theforeman/foreman/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/theforeman/foreman/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/theforeman/foreman/git/refs{/sha}","trees_url":"https://api.github.com/repos/theforeman/foreman/git/trees{/sha}","statuses_url":"https://api.github.com/repos/theforeman/foreman/statuses/{sha}","languages_url":"https://api.github.com/repos/theforeman/foreman/languages","stargazers_url":"https://api.github.com/repos/theforeman/foreman/stargazers","contributors_url":"https://api.github.com/repos/theforeman/foreman/contributors","subscribers_url":"https://api.github.com/repos/theforeman/foreman/subscribers","subscription_url":"https://api.github.com/repos/theforeman/foreman/subscription","commits_url":"https://api.github.com/repos/theforeman/foreman/commits{/sha}","git_commits_url":"https://api.github.com/repos/theforeman/foreman/git/commits{/sha}","comments_url":"https://api.github.com/repos/theforeman/foreman/comments{/number}","issue_comment_url":"https://api.github.com/repos/theforeman/foreman/issues/comments/{number}","contents_url":"https://api.github.com/repos/theforeman/foreman/contents/{+path}","compare_url":"https://api.github.com/repos/theforeman/foreman/compare/{base}...{head}","merges_url":"https://api.github.com/repos/theforeman/foreman/merges","archive_url":"https://api.github.com/repos/theforeman/foreman/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/theforeman/foreman/downloads","issues_url":"https://api.github.com/repos/theforeman/foreman/issues{/number}","pulls_url":"https://api.github.com/repos/theforeman/foreman/pulls{/number}","milestones_url":"https://api.github.com/repos/theforeman/foreman/milestones{/number}","notifications_url":"https://api.github.com/repos/theforeman/foreman/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/theforeman/foreman/labels{/name}","releases_url":"https://api.github.com/repos/theforeman/foreman/releases{/id}","created_at":"2009-07-23T15:07:00Z","updated_at":"2015-01-26T23:48:41Z","pushed_at":"2015-01-26T23:48:41Z","git_url":"git://github.com/theforeman/foreman.git","ssh_url":"git@github.com:theforeman/foreman.git","clone_url":"https://github.com/theforeman/foreman.git","svn_url":"https://github.com/theforeman/foreman","homepage":"http://theforeman.org","size":64104,"stargazers_count":650,"watchers_count":650,"language":"Ruby","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":361,"mirror_url":null,"open_issues_count":82,"forks":361,"open_issues":82,"watchers":650,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/theforeman/foreman/pulls/1939"},"html":{"href":"https://github.com/theforeman/foreman/pull/1939"},"issue":{"href":"https://api.github.com/repos/theforeman/foreman/issues/1939"},"comments":{"href":"https://api.github.com/repos/theforeman/foreman/issues/1939/comments"},"review_comments":{"href":"https://api.github.com/repos/theforeman/foreman/pulls/1939/comments"},"review_comment":{"href":"https://api.github.com/repos/theforeman/foreman/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/theforeman/foreman/pulls/1939/commits"},"statuses":{"href":"https://api.github.com/repos/theforeman/foreman/statuses/3bcae8dd1136e69ccc0df28c93d1d1563e430999"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":9,"review_comments":3,"commits":1,"additions":21,"deletions":3,"changed_files":5}}