{"action":"created","issue":{"url":"https://api.github.com/repos/coreos/scripts/issues/479","repository_url":"https://api.github.com/repos/coreos/scripts","labels_url":"https://api.github.com/repos/coreos/scripts/issues/479/labels{/name}","comments_url":"https://api.github.com/repos/coreos/scripts/issues/479/comments","events_url":"https://api.github.com/repos/coreos/scripts/issues/479/events","html_url":"https://github.com/coreos/scripts/pull/479","id":117946104,"number":479,"title":"Add support for Parallels Desktop VM images","user":{"login":"bassamtabbara","id":1463491,"avatar_url":"https://avatars.githubusercontent.com/u/1463491?v=3","gravatar_id":"","url":"https://api.github.com/users/bassamtabbara","html_url":"https://github.com/bassamtabbara","followers_url":"https://api.github.com/users/bassamtabbara/followers","following_url":"https://api.github.com/users/bassamtabbara/following{/other_user}","gists_url":"https://api.github.com/users/bassamtabbara/gists{/gist_id}","starred_url":"https://api.github.com/users/bassamtabbara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bassamtabbara/subscriptions","organizations_url":"https://api.github.com/users/bassamtabbara/orgs","repos_url":"https://api.github.com/users/bassamtabbara/repos","events_url":"https://api.github.com/users/bassamtabbara/events{/privacy}","received_events_url":"https://api.github.com/users/bassamtabbara/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-20T01:25:06Z","updated_at":"2016-05-11T04:38:02Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/coreos/scripts/pulls/479","html_url":"https://github.com/coreos/scripts/pull/479","diff_url":"https://github.com/coreos/scripts/pull/479.diff","patch_url":"https://github.com/coreos/scripts/pull/479.patch"},"body":"The pull request add support for Parallels Desktop VM images. Two new image types have been added:\r\n\r\n- parallels - this produces VM images with extension pvm.tgz that can be loaded directly into Parallels Desktop\r\n- vagrant_parallels - this produces a Vagrant box that works with parallels vagrant provider (http://parallels.github.io/vagrant-parallels/)\r\n\r\nJust like vmdk and others we rely on qemu-img to convert raw images. Support for Parallels disk images was added to qemu-img in version 2.4 and requires the following related PR coreos/portage-stable#368.\r\n\r\nI had to do a slight refactoring to add a concept of a VM_LAYOUT to support Parallels. Just like a disk layout, a vm layout defines how the VM is organized. Parallels Desktop requires a specific directory structure for its configuration and also for the disks. It not as simple as vmware vmx + vmdk side-by-side.\r\n\r\nI also removed the box files from the actual image since there are not needed in /usr/share/oem.\r\n\r\nFinally, oem-vagrant has been updated in coreos/coreos-overlay#1653 to suppress warnings regarding guest tools.\r\n"},"comment":{"url":"https://api.github.com/repos/coreos/scripts/issues/comments/218359875","html_url":"https://github.com/coreos/scripts/pull/479#issuecomment-218359875","issue_url":"https://api.github.com/repos/coreos/scripts/issues/479","id":218359875,"user":{"login":"coreosbot","id":6148850,"avatar_url":"https://avatars.githubusercontent.com/u/6148850?v=3","gravatar_id":"","url":"https://api.github.com/users/coreosbot","html_url":"https://github.com/coreosbot","followers_url":"https://api.github.com/users/coreosbot/followers","following_url":"https://api.github.com/users/coreosbot/following{/other_user}","gists_url":"https://api.github.com/users/coreosbot/gists{/gist_id}","starred_url":"https://api.github.com/users/coreosbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coreosbot/subscriptions","organizations_url":"https://api.github.com/users/coreosbot/orgs","repos_url":"https://api.github.com/users/coreosbot/repos","events_url":"https://api.github.com/users/coreosbot/events{/privacy}","received_events_url":"https://api.github.com/users/coreosbot/received_events","type":"User","site_admin":false},"created_at":"2016-05-11T04:38:02Z","updated_at":"2016-05-11T04:38:02Z","body":"Can one of the admins verify this patch?"}}