Uma das minhas caixas Vagrant acabou com um estado "Abortado", aparentemente eu fiquei sem memória ou algo assim, e sim. Agora a caixa não está inicializando ... corretamente.
Aqui está o que eu recebi:
$ vagrant up cloud2
Bringing machine 'cloud2' up with 'virtualbox' provider...
[cloud2] Clearing any previously set forwarded ports...
[cloud2] Fixed port collision for 22 => 2222. Now on port 2200.
[cloud2] Clearing any previously set network interfaces...
[cloud2] Preparing network interfaces based on configuration...
[cloud2] Forwarding ports...
[cloud2] -- 22 => 2200 (adapter 1)
[cloud2] Booting VM...
[cloud2] Waiting for machine to boot. This may take a few minutes...
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. This can
mean a number of things.
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.
$
Ele diz que está em execução, mas não consigo fazer login.
$ vagrant status cloud2
Current machine states:
cloud2 running (virtualbox)
The VM is running. To stop this VM, you can run 'vagrant halt' to
shut it down forcefully, or you can run 'vagrant suspend' to simply
suspend the virtual machine. In either case, to restart it again,
simply run 'vagrant up'.
$ vagrant ssh cloud2
ssh_exchange_identification: read: Connection reset by peer
$
Esta é a configuração do Vagrantfile para a caixa:
config.vm.define "cloud2" do |cloud2|
cloud2.vm.box = "precise32"
cloud2.vm.network "public_network", :bridge => 'wlan0'
config.vm.boot_timeout = 600
# config.vm.provider :virtualbox do |vb|
# vb.customize ["modifyvm", :id, "--memory", "1024"]
# vb.customize ["modifyvm", :id, "--cpus", "2"]
# end
end
Configurei o tempo limite de 600 enquanto lia alguns posts por aqui, mas isso não me ajudou em nada.
SOS! Eu fiz um monte de coisas nessa VM e eu ....... não tenho um backup: D: P