Skip to content

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

@Helenbj

Description

@Helenbj

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..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions