I have an error executing a simple vagrant up with the following Vagrantfile:
Vagrant.configure(2) do |config|
config.vm.define "dev" do |dev|
dev.vm.box = "archlinux-x86_64"
dev.vm.box_url = "http://cloud.terry.im/vagrant/archlinux-x86_64.box"
dev.vm.network :private_network, ip: "192.168.42.11" # PROBLEMATIC LINE
end
end
Log output:
$ vagrant up
Bringing machine 'dev' up with 'virtualbox' provider...
==> dev: Importing base box 'archlinux-x86_64'...
==> dev: Matching MAC address for NAT networking...
==> dev: Setting the name of the VM: ttp
==> dev: Clearing any previously set network interfaces...
==> dev: Preparing network interfaces based on configuration...
dev: Adapter 1: nat
dev: Adapter 2: hostonly
==> dev: Forwarding ports...
dev: 22 => 2222 (adapter 1)
==> dev: Running 'pre-boot' VM customizations...
==> dev: Booting VM...
==> dev: Waiting for machine to boot. This may take a few minutes...
dev: SSH address: 127.0.0.1:2222
dev: SSH username: vagrant
dev: SSH auth method: private key
dev: Warning: Connection timeout. Retrying...
==> dev: Machine booted and ready!
==> dev: Checking for guest additions in VM...
==> dev: Configuring and enabling network interfaces...
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
ip link set eth1 down
Stdout from the command:
Stderr from the command:
Cannot find device "eth1"
Do you have an idea about this? The machine is booted up, I can do a vagrant ssh, but the shared /vagrant folder does not exist.
Now, if I delete the line with the comment in the Vangrantfile, everything works fine.
Hi,
I have an error executing a simple
vagrant up
with the following Vagrantfile:Log output:
Do you have an idea about this? The machine is booted up, I can do a
vagrant ssh
, but the shared /vagrant folder does not exist.Now, if I delete the line with the comment in the Vangrantfile, everything works fine.