Hi, Many thank to your help! The whole picture is this: https://github.com/cesarjorgemartinez/automatevmimages
Here (when I have a bit of time), I build Linux image minimal with Windows. Only by now build centos images, I would like to be able to build other types of Linux, Ubuntu, etc. Regards, Cesar Jorge <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Libre de virus. www.avast.com <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> 2017-11-10 10:45 GMT+01:00 Alvaro Miranda Aguilera <[email protected]>: > Hello > > If you would share more information on what you will be doing, how you > will be using those files, perhaps that will help to see the whole picture. > > Out of the box packer takes an iso, create a VM with a VDI disk and OVF > definition, then at the end, it export the VM and creates a OVF file and a > VMDK file. > > format <https://www.packer.io/docs/builders/virtualbox-iso.html#format> > (string) > - Either "ovf" or "ova", this specifies the output format of the exported > virtual machine. This defaults to "ovf". > > I don't think there is a way to set the name of the disk as its created > automatically. > > https://www.packer.io/docs/builders/virtualbox-iso.html > > the VDI disk is done with the name of the box, but the export add the num > of the disk: > > https://github.com/hashicorp/packer/blob/master/builder/ > virtualbox/iso/step_create_disk.go#L26 > > alvaro > > > You could override this last part and tell packer to export as OVA instead > of OVF. > > > > On Wed, Nov 8, 2017 at 6:39 PM, CesarJ M <[email protected]> > wrote: > >> Hi, >> >> I'm a beginner in use packer. >> >> I have managed to create my image using vitualbox-iso. >> Generates two files: >> imagename.ovf >> imagename-disk001.vmdk >> >> One questions is: >> How do I get a filename like imagename.vmdk? The VirtualBox does this >> when I create a VM manually. >> >> And second question: >> How do I generate a vdi file directly? >> Example: generate in output-virtualbox-iso the file imagename.vdi >> >> >> Regards >> >> >> >> -- >> 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/ms >> gid/packer-tool/ee08ceb7-fdc6-4ed4-a3b9-888b63d24fe9%40googlegroups.com >> <https://groups.google.com/d/msgid/packer-tool/ee08ceb7-fdc6-4ed4-a3b9-888b63d24fe9%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Alvaro > > -- > 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 a topic in the > Google Groups "Packer" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/packer-tool/IoijvyOgixk/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/packer-tool/CAHqq0ezL7uwucRY6t0F_6SXNLjbyKD%2BM9b7Vs--dVf% > 3DT9R7_%2Bg%40mail.gmail.com > <https://groups.google.com/d/msgid/packer-tool/CAHqq0ezL7uwucRY6t0F_6SXNLjbyKD%2BM9b7Vs--dVf%3DT9R7_%2Bg%40mail.gmail.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/CAL8MddUdG%3DpzFGcE0VoPo_NgX3%3DifZNXHyzhJVSz%2BszyyV-GxQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
