{"action":"created","issue":{"url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-azure-cpi-release/issues/231","repository_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-azure-cpi-release","labels_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-azure-cpi-release/issues/231/labels{/name}","comments_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-azure-cpi-release/issues/231/comments","events_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-azure-cpi-release/issues/231/events","html_url":"https://github.com/cloudfoundry-incubator/bosh-azure-cpi-release/pull/231","id":197549863,"number":231,"title":"Get os_type from cloud_properties of stemcells","user":{"login":"gossion","id":2063764,"avatar_url":"https://avatars.githubusercontent.com/u/2063764?v=3","gravatar_id":"","url":"https://api.github.com/users/gossion","html_url":"https://github.com/gossion","followers_url":"https://api.github.com/users/gossion/followers","following_url":"https://api.github.com/users/gossion/following{/other_user}","gists_url":"https://api.github.com/users/gossion/gists{/gist_id}","starred_url":"https://api.github.com/users/gossion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gossion/subscriptions","organizations_url":"https://api.github.com/users/gossion/orgs","repos_url":"https://api.github.com/users/gossion/repos","events_url":"https://api.github.com/users/gossion/events{/privacy}","received_events_url":"https://api.github.com/users/gossion/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-26T07:28:33Z","updated_at":"2016-12-26T07:28:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-azure-cpi-release/pulls/231","html_url":"https://github.com/cloudfoundry-incubator/bosh-azure-cpi-release/pull/231","diff_url":"https://github.com/cloudfoundry-incubator/bosh-azure-cpi-release/pull/231.diff","patch_url":"https://github.com/cloudfoundry-incubator/bosh-azure-cpi-release/pull/231.patch"},"body":"Originally, `os_type` of a VM was hard coded as `linux`. From now on, we will get the value from `cloud_properties` of stemcells.\r\n\r\nThis PR has these changes:\r\n1. when creating a stemcell, put `cloud_properties`(including `os_type`) of it to `metadata` of the blob. \r\n1. when creating a VM, get `os_type` from `metadata` of the stemcell blob, and use this value for parameter of the VM.\r\n1. for existed stemcell which does not have metadata, `os_type`  has default value `linux`."},"comment":{"url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-azure-cpi-release/issues/comments/269176452","html_url":"https://github.com/cloudfoundry-incubator/bosh-azure-cpi-release/pull/231#issuecomment-269176452","issue_url":"https://api.github.com/repos/cloudfoundry-incubator/bosh-azure-cpi-release/issues/231","id":269176452,"user":{"login":"cfdreddbot","id":5149451,"avatar_url":"https://avatars.githubusercontent.com/u/5149451?v=3","gravatar_id":"","url":"https://api.github.com/users/cfdreddbot","html_url":"https://github.com/cfdreddbot","followers_url":"https://api.github.com/users/cfdreddbot/followers","following_url":"https://api.github.com/users/cfdreddbot/following{/other_user}","gists_url":"https://api.github.com/users/cfdreddbot/gists{/gist_id}","starred_url":"https://api.github.com/users/cfdreddbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cfdreddbot/subscriptions","organizations_url":"https://api.github.com/users/cfdreddbot/orgs","repos_url":"https://api.github.com/users/cfdreddbot/repos","events_url":"https://api.github.com/users/cfdreddbot/events{/privacy}","received_events_url":"https://api.github.com/users/cfdreddbot/received_events","type":"User","site_admin":false},"created_at":"2016-12-26T07:28:33Z","updated_at":"2016-12-26T07:28:33Z","body":"Hey gossion!\n\nThanks for submitting this pull request! I'm here to inform the recipients of the pull request that you and the commit authors have already signed the CLA.\n"}}
{"actor":{"display_login":"cfdreddbot"}}