m@my:~/Desktop/MV$ vagrant up Bringing machine 'default' up with 'virtualbox' provider... ==> default: Clearing any previously set forwarded ports... ==> default: Clearing any previously set network interfaces... ==> default: Preparing network interfaces based on configuration... default: Adapter 1: nat ==> default: Forwarding ports... default: 22 (guest) => 2222 (host) (adapter 1) ==> 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 Timed out while waiting for the machine to boot. This means that Vagrant was unable to communicate with the guest machine within 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. m@my:~/Desktop/MV$ vagrant init peterrehm/xenial-php71
Nie wiem jak zmienić limit:
Vagrantfile:
(...) # documentation for more information about their specific syntax and use. # config.vm.provision "shell", inline: <<-SHELL # apt-get update # apt-get install -y apache2 # SHELL config.vm.boot_timeout 1000
m@my:~/Desktop/MV$ vagrant up There was an error loading a Vagrantfile. The file being loaded and the error message are shown below. This is usually caused by a syntax error. Path: /home/m/Desktop/MV/Vagrantfile Line number: 73 Message: NameError: undefined local variable or method `config' for main:Object m@my:~/Desktop/MV$
Co radzicie?
Z góry dziękuję