sciurus/vagrant-mutate

vagrant up stuck on Waiting for domain to get an IP address

Opened this issue · 1 comments

I have a virtualbox box of rapid7/metasploitable3-win2k8 locally, and want to use mutate to translate it into libvirt version. There is no error when I run command

vagrant mutate rapid7/metasploitable3-win2k8 libvirt

however when I run

vagrant up --provider libvirt

it hang on

==> default: Waiting for domain to get an IP address...

and when run vagrant up with --debug parameter, the terminal prints bellow things repeatly

INFO retryable: Retryable exception raised: #<Fog::Errors::TimeoutError: The specified wait_for timeout (2 seconds) was exceeded>

My Vagrantfile is like this

Vagrant.configure("2") do |config|

config.vm.box = "rapid7/metasploitable3-win2k8"
config.vm.communicator = "winrm"
config.winrm.retry_limit = 60
config.winrm.retry_delay = 10

config.vm.network "private_network", type: "dhcp"

config.vm.provision :shell, inline: "C:\startup\install_share_autorun.bat"
config.vm.provision :shell, inline: "C:\startup\setup_linux_share.bat"
config.vm.provision :shell, inline: "rm C:\startup\*" # Cleanup startup scripts

end

@sciurus I doubt there are some errors when mutate translate the vm platform, could you give me some advices how to figure it out? Looking for your reply..

@sciurus What's more, I can check via virt-manager vagrant up actually create an vm, and the GUI show

Press CTRL + ALT +DELETE to log on