Avec l' image de boîte Vagrant officielle Ubuntu 16.04 LTS (Xenial Xerus) (sur VirtualBox), j'ai des problèmes avec les paramètres réseau de base:
Mon 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 résultat:
==> 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
Laisser la configuration à DHCP ne fonctionne pas non plus:
server.vm.network "private_network", type: "dhcp"
Dans le même temps, les configurations ci-dessus fonctionnent pour ubuntu/trusty64et ubuntu/wily64et non officielles gbarbieru/xenial.
Essayer la commande /sbin/ifdown eth1 2> /dev/nullne donne aucun résultat car l'interface a un schéma de nommage différent (le principal est enp0s3).
Suis-je en train de manquer quelque chose d'évident ici ou la boîte est-elle juste cassée?