问题
Hi I want to edit the config.vm.boot_timeout in vagrant because I am having problem in booting up the vagrant. where i can find the config.vm.boot_timeout ?and what value should i put ? I am in windows8.1 x86
Thank you in advance.
回答1:
You need to run vagrant command to get the location of the vagrant file. And then make changes to the variable config.vm.boot_timeout (Reference)
- The default value of the variable is 300. You can try changing the default values.
- Check if you have the latest version and it is compatible with your OS.
Follow the steps given here
Also, a whole bunch of solution's are provided here
回答2:
If it's windows 10 OS, then by default virtualization is disabled in BIOS level. If we make the value as enabled and restart the system and run vagrant up. Then it will works fine.
Steps to Do:
1) Restart the system and press F1.
2) Goto BIOS settings and enable Virtualization
3) Press F10 (Save and exit)
4) run vagrant up
回答3:
This works for me:
- login with :gui by login/pass: vagrant/vagrant
- modify the
/etc/rc.local
file to include the linesh /etc/init.d/networking restart
just beforeexit 0
- disable :gui
- vagrant up or vagrant reload
https://github.com/mitchellh/vagrant/issues/391#issuecomment-2078383
来源:https://stackoverflow.com/questions/32731629/where-to-find-config-vm-boot-timeout