Hello, Time by time people came with similar requests for PXE.
The problem with Vagrant is its expect some OS and be able to ssh into the box. And the first nic will be NAT all the time. So for Vagrant, if you add a private_network, or a public_network, it should do better for boot. You may need to use VBoxManage to tell boot over PXE, etc. My suggestion will be search on google groups for PXE to see past threads, and have a look at packer to create a VM. If you pass a non-bootable iso, it should go for PXE. Other trick is on packer you have same access to VBoxManage, so any change you do, it should work. On Sat, Feb 27, 2016 at 10:06 AM, Charles Llewellyn < [email protected]> wrote: > Hi All, > > I'm trying to use vagrant to mock our bare-metal provisioning > configuration. We use razor and PXE to build our hypervisors and puppet to > manage their configuration. I am trying to create a Vagrant setup so we can > test stuff locally. > > We are using the VMware provider. > > The best solution would be to have an option to specify PXE boot of some > VMs in a multi VM deployment. > > Failing this I have got it working so that Vagrant deploys a blank VM and > have reduced the timeout so it fails fast. The issue is the failure to boot > causes Vagrant to exit, stopping me deploy multiple PXE machines. > > My questions are: > > 1. Is there a way a supported way to deploy "blank" VMs with Vagrant for > PXE (with the VMware provider) > 2. Is there a way to ignore boot errors/timeouts and continue to deploy > the next machine with "vagrant up" > > Cheers > > Charlie > > -- > 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/2b813ee2-062a-4793-96be-9670a2e9c22d%40googlegroups.com > <https://groups.google.com/d/msgid/vagrant-up/2b813ee2-062a-4793-96be-9670a2e9c22d%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/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/CAHqq0ewXx_ng0_UF5kkGr84bTF2Dcg%2BAcKd0CgBu8Xsj_QXxdA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
