Hello Anthony

this is how I create the boxes.

https://gist.github.com/kikitux/ee20aa07d9534841e103


You can create from template or linked clone

in my case, since I am testing the ideal provisioning (according to myself)
 what I do is

packer -> ova -> template

then I create 4 boxes

Template -> box1
box1 - > box2 (linked clone)
box1 - > box3 (linked clone)
box1 - > box4 (linked clone)

So have a look at my Vagrantfile and maybe you can reuse some ideas


On Thu, Jul 30, 2015 at 3:49 PM, Anthony Manzo <[email protected]> wrote:
> I'm using https://github.com/nsidc/vagrant-vsphere and I'm actually using it
> on a vcenter host (contrary to what I said).
> It's working well, but it's not as fast a using a prebuilt box because it
> starts with the template as you said ( and then clones it to a vm).
> Thanks for the info on Packer, it looks like I can create a box with that.
>
>
> On Wednesday, July 29, 2015 at 4:35:26 PM UTC-7, Alvaro Miranda Aguilera
> wrote:
>>
>> Hello Anthony
>>
>> What plugin are you using?
>>
>> I think the way the plugin works, require the VM or Template to exist
>> on Vmware first.
>>
>> On my particular case, I use VCSA (sorry, i am lost with
>> vcenter/vsphere) and I create the box with packer (packer.io) and I
>> have all wrapped with one script
>>
>> so my script call packer to build the VM and then call OVFTool to
>> create an OVA file
>>
>> then, you can use GOVC to upload these OVA files to VMware:
>> https://github.com/vmware/govmomi/releases
>>
>> Let me know if you need assistance to get this working, happy to share.
>>
>> Alvaro.
>>
>> On Thu, Jul 30, 2015 at 11:20 AM, Anthony Manzo <[email protected]> wrote:
>> > Hi,
>> > I wondered what technique you ended up using.  I'm experimenting with
>> > the
>> > vsphere (not vcenter) esxi provider and it's working well off of
>> > templates
>> > but I would like to know if you've found a way to package your vsphere
>> > images as boxes with one of these other options.
>> > Cheers ,
>> > Tony
>> >
>> > On Tuesday, January 20, 2015 at 6:15:31 PM UTC-8, Lee Cuevas wrote:
>> >>
>> >> I would like to create a Vagrant .box image and then use it to deploy
>> >> from
>> >> my laptop using vsphere. Is this doable? If so, can someone post a link
>> >> with
>> >> instructions please?
>> >>
>> >> Thanks in advance
>> >>
>> >> Lee
>> >
>> > --
>> > 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/vagrant/issues
>> > IRC: #vagrant on Freenode
>> > ---
>> > You received this message because you are subscribed to the Google
>> > Groups
>> > "Vagrant" 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/vagrant-up/154ced65-ee55-47d4-8988-3c290194ce83%40googlegroups.com.
>> > 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/vagrant/issues
IRC: #vagrant on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" 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/vagrant-up/CAHqq0eyxJi7sW2E77dnN0B0dNgK%2BA890VYFxRzxjANjT0tONNw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to