Skip to content

Commit d7c4b0c

Browse files
committed
config.vm.boot_timeout = 600 to workaround time out
``` $ vagrant up Bringing machine 'default' up with 'virtualbox' provider... ==> default: Importing base box 'ubuntu/eoan64'... ==> default: Matching MAC address for NAT networking... ==> default: Checking if box 'ubuntu/eoan64' version '20191022.0.0' is up to date... ==> default: Setting the name of the VM: rails-dev-box_default_1571838570411_83143 ==> default: Clearing any previously set network interfaces... ==> default: Preparing network interfaces based on configuration... default: Adapter 1: nat ==> default: Forwarding ports... default: 3000 (guest) => 3000 (host) (adapter 1) default: 22 (guest) => 2222 (host) (adapter 1) ==> default: Running 'pre-boot' VM customizations... ==> default: Booting VM... ==> default: Waiting for machine to boot. This may take a few minutes... default: SSH address: 127.0.0.1:2222 default: SSH username: vagrant default: SSH auth method: private key Timed out while waiting for the machine to boot. This means that Vagrant was unable to communicate with the guest machine within the configured ("config.vm.boot_timeout" value) time period. If you look above, you should be able to see the error(s) that Vagrant had when attempting to connect to the machine. These errors are usually good hints as to what may be wrong. If you're using a custom box, make sure that networking is properly working and you're able to connect to the machine. It is a common problem that networking isn't setup properly in these boxes. Verify that authentication configurations are also setup properly, as well. If the box appears to be booting properly, you may want to increase the timeout ("config.vm.boot_timeout") value. $ ```
1 parent 4d5f0e2 commit d7c4b0c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Vagrantfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,7 @@ Vagrant.configure('2') do |config|
1212
v.memory = ENV.fetch('RAILS_DEV_BOX_RAM', 2048).to_i
1313
v.cpus = ENV.fetch('RAILS_DEV_BOX_CPUS', 2).to_i
1414
end
15+
16+
config.vm.boot_timeout = 600
17+
1518
end

0 commit comments

Comments
 (0)