where to find config.vm.boot_timeout?
Asked Answered
S

4

22

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

enter image description here Thank you in advance.

Subjection answered 23/9, 2015 at 5:28 Comment(0)
M
16

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)

  1. The default value of the variable is 300. You can try changing the default values.
  2. 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

Meetinghouse answered 23/9, 2015 at 5:46 Comment(0)
B
3

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.
Benis answered 16/5, 2018 at 5:29 Comment(1)
In my case, Virtualization was enabled, but I had to disable Hyper-V since I was trying to use VirtualBoxLynwoodlynx
S
2

I could not find config.vm.boot_timeout in config files. That left me with the question on where to add this setting. This looks to be working for me:

In the root directory of your Vagrant install, there's the Vagrantfile file. There, I added config.vm.boot_timeout = 600 just after Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|.

I'm using Vagrant 2.2.19.

Sexennial answered 1/8, 2022 at 14:5 Comment(0)
J
0

This works for me:

  1. login with :gui by login/pass: vagrant/vagrant
  2. modify the /etc/rc.local file to include the line sh /etc/init.d/networking restart just before exit 0
  3. disable :gui
  4. vagrant up or vagrant reload

https://github.com/mitchellh/vagrant/issues/391#issuecomment-2078383

Jauch answered 10/1, 2016 at 16:17 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.