{"action":"created","comment":{"url":"https://api.github.com/repos/kubic-project/automation/pulls/comments/183711269","pull_request_review_id":114759501,"id":183711269,"diff_hunk":"@@ -0,0 +1,329 @@\n+# SUSE Container As A Service Platform on Hyper-V\n+\n+The script **caasp-hyperv.ps1** is used to manage the deployment of a CaaSP cluster\n+on Hyper-V based on the **VHD** images. By default, it reads a configuration \n+file **caasp-hyperv.vars** in the script directory and generate an hvstate file\n+in json **caasp-hyperv-$stackName.hvstate** plus a copy in **caasp-hyperv.hvstate**.\n+\n+The nodes can be configured with cloud-init by editing the default **cloud-init** files\n+in script directory.\n+\n+## General notes\n+\n+Requirements for each Hyper-V host:\n+\n+* The same virtual machine network switch must exist\n+* The VHD and IMAGE directories must exist\n+\n+The following files must be in the script directory:\n+\n+* oscdimg.exe (tool to create the cloud-init iso)","path":"caasp-hyperv/README.md","position":20,"original_position":20,"commit_id":"073ac2021f2ece4241e5bf082b3668311a7be350","original_commit_id":"375055b962b3079b43833ea872b6b4be81992d7c","user":{"login":"kiall","id":52713,"avatar_url":"https://avatars3.githubusercontent.com/u/52713?v=4","gravatar_id":"","url":"https://api.github.com/users/kiall","html_url":"https://github.com/kiall","followers_url":"https://api.github.com/users/kiall/followers","following_url":"https://api.github.com/users/kiall/following{/other_user}","gists_url":"https://api.github.com/users/kiall/gists{/gist_id}","starred_url":"https://api.github.com/users/kiall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kiall/subscriptions","organizations_url":"https://api.github.com/users/kiall/orgs","repos_url":"https://api.github.com/users/kiall/repos","events_url":"https://api.github.com/users/kiall/events{/privacy}","received_events_url":"https://api.github.com/users/kiall/received_events","type":"User","site_admin":false},"body":"I'm not sure that gives us redistribution rights (I know virtually nothing about Microsoft's licencing).  My assumption is, Microsoft being Microsoft, means we can't redistribute that binary file without getting in trouble with the lawyers! Can we make an assumption that this binary is already present on the machine this powershell script runs on, rather than having our scripts put it there?","created_at":"2018-04-24T12:34:15Z","updated_at":"2018-04-24T12:34:15Z","html_url":"https://github.com/kubic-project/automation/pull/328#discussion_r183711269","pull_request_url":"https://api.github.com/repos/kubic-project/automation/pulls/328","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/kubic-project/automation/pulls/comments/183711269"},"html":{"href":"https://github.com/kubic-project/automation/pull/328#discussion_r183711269"},"pull_request":{"href":"https://api.github.com/repos/kubic-project/automation/pulls/328"}},"in_reply_to_id":183617068},"pull_request":{"url":"https://api.github.com/repos/kubic-project/automation/pulls/328","id":182224801,"html_url":"https://github.com/kubic-project/automation/pull/328","diff_url":"https://github.com/kubic-project/automation/pull/328.diff","patch_url":"https://github.com/kubic-project/automation/pull/328.patch","issue_url":"https://api.github.com/repos/kubic-project/automation/issues/328","number":328,"state":"open","locked":false,"title":"Add script to deploy CaaSP on Hyper-V","user":{"login":"lcavajani","id":33934779,"avatar_url":"https://avatars3.githubusercontent.com/u/33934779?v=4","gravatar_id":"","url":"https://api.github.com/users/lcavajani","html_url":"https://github.com/lcavajani","followers_url":"https://api.github.com/users/lcavajani/followers","following_url":"https://api.github.com/users/lcavajani/following{/other_user}","gists_url":"https://api.github.com/users/lcavajani/gists{/gist_id}","starred_url":"https://api.github.com/users/lcavajani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lcavajani/subscriptions","organizations_url":"https://api.github.com/users/lcavajani/orgs","repos_url":"https://api.github.com/users/lcavajani/repos","events_url":"https://api.github.com/users/lcavajani/events{/privacy}","received_events_url":"https://api.github.com/users/lcavajani/received_events","type":"User","site_admin":false},"body":"The script is used by QA to deploy and manager a caasp cluster on Hyper-V.\r\n\r\nIt is also meant to be used by the hyperv jenkins libraries.","created_at":"2018-04-17T16:31:37Z","updated_at":"2018-04-24T12:34:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f849df9dd29c97067aa5cf6699d1f9f2b8c66fbd","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/kubic-project/automation/pulls/328/commits","review_comments_url":"https://api.github.com/repos/kubic-project/automation/pulls/328/comments","review_comment_url":"https://api.github.com/repos/kubic-project/automation/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kubic-project/automation/issues/328/comments","statuses_url":"https://api.github.com/repos/kubic-project/automation/statuses/073ac2021f2ece4241e5bf082b3668311a7be350","head":{"label":"lcavajani:add-caasp-hyperv","ref":"add-caasp-hyperv","sha":"073ac2021f2ece4241e5bf082b3668311a7be350","user":{"login":"lcavajani","id":33934779,"avatar_url":"https://avatars3.githubusercontent.com/u/33934779?v=4","gravatar_id":"","url":"https://api.github.com/users/lcavajani","html_url":"https://github.com/lcavajani","followers_url":"https://api.github.com/users/lcavajani/followers","following_url":"https://api.github.com/users/lcavajani/following{/other_user}","gists_url":"https://api.github.com/users/lcavajani/gists{/gist_id}","starred_url":"https://api.github.com/users/lcavajani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lcavajani/subscriptions","organizations_url":"https://api.github.com/users/lcavajani/orgs","repos_url":"https://api.github.com/users/lcavajani/repos","events_url":"https://api.github.com/users/lcavajani/events{/privacy}","received_events_url":"https://api.github.com/users/lcavajani/received_events","type":"User","site_admin":false},"repo":{"id":128409769,"name":"automation","full_name":"lcavajani/automation","owner":{"login":"lcavajani","id":33934779,"avatar_url":"https://avatars3.githubusercontent.com/u/33934779?v=4","gravatar_id":"","url":"https://api.github.com/users/lcavajani","html_url":"https://github.com/lcavajani","followers_url":"https://api.github.com/users/lcavajani/followers","following_url":"https://api.github.com/users/lcavajani/following{/other_user}","gists_url":"https://api.github.com/users/lcavajani/gists{/gist_id}","starred_url":"https://api.github.com/users/lcavajani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lcavajani/subscriptions","organizations_url":"https://api.github.com/users/lcavajani/orgs","repos_url":"https://api.github.com/users/lcavajani/repos","events_url":"https://api.github.com/users/lcavajani/events{/privacy}","received_events_url":"https://api.github.com/users/lcavajani/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lcavajani/automation","description":"Dev tooling, Test tooling, Infrastructure Definitions and Jenkins Job definitions","fork":true,"url":"https://api.github.com/repos/lcavajani/automation","forks_url":"https://api.github.com/repos/lcavajani/automation/forks","keys_url":"https://api.github.com/repos/lcavajani/automation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lcavajani/automation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lcavajani/automation/teams","hooks_url":"https://api.github.com/repos/lcavajani/automation/hooks","issue_events_url":"https://api.github.com/repos/lcavajani/automation/issues/events{/number}","events_url":"https://api.github.com/repos/lcavajani/automation/events","assignees_url":"https://api.github.com/repos/lcavajani/automation/assignees{/user}","branches_url":"https://api.github.com/repos/lcavajani/automation/branches{/branch}","tags_url":"https://api.github.com/repos/lcavajani/automation/tags","blobs_url":"https://api.github.com/repos/lcavajani/automation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lcavajani/automation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lcavajani/automation/git/refs{/sha}","trees_url":"https://api.github.com/repos/lcavajani/automation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lcavajani/automation/statuses/{sha}","languages_url":"https://api.github.com/repos/lcavajani/automation/languages","stargazers_url":"https://api.github.com/repos/lcavajani/automation/stargazers","contributors_url":"https://api.github.com/repos/lcavajani/automation/contributors","subscribers_url":"https://api.github.com/repos/lcavajani/automation/subscribers","subscription_url":"https://api.github.com/repos/lcavajani/automation/subscription","commits_url":"https://api.github.com/repos/lcavajani/automation/commits{/sha}","git_commits_url":"https://api.github.com/repos/lcavajani/automation/git/commits{/sha}","comments_url":"https://api.github.com/repos/lcavajani/automation/comments{/number}","issue_comment_url":"https://api.github.com/repos/lcavajani/automation/issues/comments{/number}","contents_url":"https://api.github.com/repos/lcavajani/automation/contents/{+path}","compare_url":"https://api.github.com/repos/lcavajani/automation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lcavajani/automation/merges","archive_url":"https://api.github.com/repos/lcavajani/automation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lcavajani/automation/downloads","issues_url":"https://api.github.com/repos/lcavajani/automation/issues{/number}","pulls_url":"https://api.github.com/repos/lcavajani/automation/pulls{/number}","milestones_url":"https://api.github.com/repos/lcavajani/automation/milestones{/number}","notifications_url":"https://api.github.com/repos/lcavajani/automation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lcavajani/automation/labels{/name}","releases_url":"https://api.github.com/repos/lcavajani/automation/releases{/id}","deployments_url":"https://api.github.com/repos/lcavajani/automation/deployments","created_at":"2018-04-06T15:03:11Z","updated_at":"2018-04-06T15:03:13Z","pushed_at":"2018-04-24T11:56:14Z","git_url":"git://github.com/lcavajani/automation.git","ssh_url":"git@github.com:lcavajani/automation.git","clone_url":"https://github.com/lcavajani/automation.git","svn_url":"https://github.com/lcavajani/automation","homepage":"","size":697,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"kubic-project:master","ref":"master","sha":"b0e6dd46381b8c43c83bf3e35f854250e35eda9f","user":{"login":"kubic-project","id":25507587,"avatar_url":"https://avatars2.githubusercontent.com/u/25507587?v=4","gravatar_id":"","url":"https://api.github.com/users/kubic-project","html_url":"https://github.com/kubic-project","followers_url":"https://api.github.com/users/kubic-project/followers","following_url":"https://api.github.com/users/kubic-project/following{/other_user}","gists_url":"https://api.github.com/users/kubic-project/gists{/gist_id}","starred_url":"https://api.github.com/users/kubic-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubic-project/subscriptions","organizations_url":"https://api.github.com/users/kubic-project/orgs","repos_url":"https://api.github.com/users/kubic-project/repos","events_url":"https://api.github.com/users/kubic-project/events{/privacy}","received_events_url":"https://api.github.com/users/kubic-project/received_events","type":"Organization","site_admin":false},"repo":{"id":96799275,"name":"automation","full_name":"kubic-project/automation","owner":{"login":"kubic-project","id":25507587,"avatar_url":"https://avatars2.githubusercontent.com/u/25507587?v=4","gravatar_id":"","url":"https://api.github.com/users/kubic-project","html_url":"https://github.com/kubic-project","followers_url":"https://api.github.com/users/kubic-project/followers","following_url":"https://api.github.com/users/kubic-project/following{/other_user}","gists_url":"https://api.github.com/users/kubic-project/gists{/gist_id}","starred_url":"https://api.github.com/users/kubic-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubic-project/subscriptions","organizations_url":"https://api.github.com/users/kubic-project/orgs","repos_url":"https://api.github.com/users/kubic-project/repos","events_url":"https://api.github.com/users/kubic-project/events{/privacy}","received_events_url":"https://api.github.com/users/kubic-project/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kubic-project/automation","description":"Dev tooling, Test tooling, Infrastructure Definitions and Jenkins Job definitions","fork":false,"url":"https://api.github.com/repos/kubic-project/automation","forks_url":"https://api.github.com/repos/kubic-project/automation/forks","keys_url":"https://api.github.com/repos/kubic-project/automation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kubic-project/automation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kubic-project/automation/teams","hooks_url":"https://api.github.com/repos/kubic-project/automation/hooks","issue_events_url":"https://api.github.com/repos/kubic-project/automation/issues/events{/number}","events_url":"https://api.github.com/repos/kubic-project/automation/events","assignees_url":"https://api.github.com/repos/kubic-project/automation/assignees{/user}","branches_url":"https://api.github.com/repos/kubic-project/automation/branches{/branch}","tags_url":"https://api.github.com/repos/kubic-project/automation/tags","blobs_url":"https://api.github.com/repos/kubic-project/automation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kubic-project/automation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kubic-project/automation/git/refs{/sha}","trees_url":"https://api.github.com/repos/kubic-project/automation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kubic-project/automation/statuses/{sha}","languages_url":"https://api.github.com/repos/kubic-project/automation/languages","stargazers_url":"https://api.github.com/repos/kubic-project/automation/stargazers","contributors_url":"https://api.github.com/repos/kubic-project/automation/contributors","subscribers_url":"https://api.github.com/repos/kubic-project/automation/subscribers","subscription_url":"https://api.github.com/repos/kubic-project/automation/subscription","commits_url":"https://api.github.com/repos/kubic-project/automation/commits{/sha}","git_commits_url":"https://api.github.com/repos/kubic-project/automation/git/commits{/sha}","comments_url":"https://api.github.com/repos/kubic-project/automation/comments{/number}","issue_comment_url":"https://api.github.com/repos/kubic-project/automation/issues/comments{/number}","contents_url":"https://api.github.com/repos/kubic-project/automation/contents/{+path}","compare_url":"https://api.github.com/repos/kubic-project/automation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kubic-project/automation/merges","archive_url":"https://api.github.com/repos/kubic-project/automation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kubic-project/automation/downloads","issues_url":"https://api.github.com/repos/kubic-project/automation/issues{/number}","pulls_url":"https://api.github.com/repos/kubic-project/automation/pulls{/number}","milestones_url":"https://api.github.com/repos/kubic-project/automation/milestones{/number}","notifications_url":"https://api.github.com/repos/kubic-project/automation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kubic-project/automation/labels{/name}","releases_url":"https://api.github.com/repos/kubic-project/automation/releases{/id}","deployments_url":"https://api.github.com/repos/kubic-project/automation/deployments","created_at":"2017-07-10T16:35:06Z","updated_at":"2018-04-20T10:21:43Z","pushed_at":"2018-04-24T11:56:16Z","git_url":"git://github.com/kubic-project/automation.git","ssh_url":"git@github.com:kubic-project/automation.git","clone_url":"https://github.com/kubic-project/automation.git","svn_url":"https://github.com/kubic-project/automation","homepage":"","size":656,"stargazers_count":17,"watchers_count":17,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":21,"mirror_url":null,"archived":false,"open_issues_count":20,"license":null,"forks":21,"open_issues":20,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kubic-project/automation/pulls/328"},"html":{"href":"https://github.com/kubic-project/automation/pull/328"},"issue":{"href":"https://api.github.com/repos/kubic-project/automation/issues/328"},"comments":{"href":"https://api.github.com/repos/kubic-project/automation/issues/328/comments"},"review_comments":{"href":"https://api.github.com/repos/kubic-project/automation/pulls/328/comments"},"review_comment":{"href":"https://api.github.com/repos/kubic-project/automation/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kubic-project/automation/pulls/328/commits"},"statuses":{"href":"https://api.github.com/repos/kubic-project/automation/statuses/073ac2021f2ece4241e5bf082b3668311a7be350"}},"author_association":"NONE"}}
{"actor":{"display_login":"kiall"}}