Thank you Rickard. So looks like, I will have to run my qemu utility to convert my vmdk file and then use glance to update it to repo.
On Friday, October 7, 2016 at 6:40:11 AM UTC-7, Rickard von Essen wrote: > > Instead of Packer source image, can I use an ova or vmdk etc to build a >> packer image ? >> > > Assuming you ment OpenStack (OS) image, no. The OpenStack builder builds > from an OS image and creates a new OS image. > > The point of Packer is to allow you to build images on multiple > virtualization technologies with the same config. So you could launch a > CentOS VM on OS and on AWS and run the *same* provisioners on both and > then create two new images from that. One on OS and one on AWS. > > Hope that clears it a bit. > > On 7 October 2016 at 15:16, Sony Koithara <[email protected] > <javascript:>> wrote: > >> I am new to packer world... >> >> My Packer.conf file looks like this: >> { >> "builders": [{ >> "type": "openstack", >> "source_image": "a5dc1a16-38c4-4eed-bf4d-04866b3d517f", >> "communicator": "winrm", >> "winrm_username": "vagrant", >> "winrm_password": "vagrant", >> "winrm_timeout": "2h", >> "flavor": "m1.large", >> "image_name": "packerImage", >> "networks": "9a91549c-ccb1-4beb-b6ae-24d5d08935ef", >> "security_groups": ["default"], >> "insecure": "true" >> }] >> } >> >> >> >> >> *My Question is: Instead of Packer source image, can I use an ova or vmdk >> etc to build a packer image ?With this builder, it fetches the image from >> your openstack account, do all provisioing and then upload it back over >> there ?I thought Packer was capable of creating multiple image from any >> type of source... Please correct me if I am wrong.* >> >> -- >> This mailing list is governed under the HashiCorp Community Guidelines - >> https://www.hashicorp.com/community-guidelines.html. Behavior in >> violation of those guidelines may result in your removal from this mailing >> list. >> >> GitHub Issues: https://github.com/mitchellh/packer/issues >> IRC: #packer-tool on Freenode >> --- >> You received this message because you are subscribed to the Google Groups >> "Packer" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/packer-tool/f6c831ef-22dd-4542-a1bc-74a87ce10b92%40googlegroups.com >> >> <https://groups.google.com/d/msgid/packer-tool/f6c831ef-22dd-4542-a1bc-74a87ce10b92%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/packer/issues IRC: #packer-tool on Freenode --- You received this message because you are subscribed to the Google Groups "Packer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/3d4bceed-258d-4b19-8cb3-4652b10c2808%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
