Z oficjalnym obrazem Vagrant Ubuntu 16.04 LTS (Xenial Xerus) (na VirtualBox) mam problemy z podstawowymi ustawieniami sieci:
Mój Vagrantfile:
Vagrant.configure(2) do |config|
config.vm.box = 'ubuntu/xenial64'
config.vm.define "xenial" do |server|
server.vm.network "private_network", ip: "192.168.10.10"
end
end
vagrant up wynik:
==> xenial: Configuring and enabling network interfaces...
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
/sbin/ifdown eth1 2> /dev/null
Stdout from the command:
Stderr from the command:
sudo: unable to resolve host ubuntu-xenial
mesg: ttyname failed: Inappropriate ioctl for device
Pozostawienie konfiguracji do DHCP również nie działa:
server.vm.network "private_network", type: "dhcp"
Jednocześnie, powyższe konfiguracje pracować ubuntu/trusty64i ubuntu/wily64i nieoficjalny gbarbieru/xenial.
Próba wykonania polecenia /sbin/ifdown eth1 2> /dev/nullnie daje żadnych rezultatów, ponieważ interfejs ma inny schemat nazewnictwa (główny to enp0s3).
Czy brakuje mi czegoś oczywistego, czy pudełko jest po prostu zepsute?