LoginSignup
2
1

More than 5 years have passed since last update.

Vagrant で bento/ubuntu-16.04 を vagrant up すると途中で ネットワーク周りでコケる

Posted at

環境

  • macOS Sierra 10.12.1
  • Virtualbox 5.0.28 r111378
  • Vagrant 1.7.4

現象

vagrant up すると、下記のようなエラーが発生してしまう

==> default: 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:

mesg: ttyname failed: Inappropriate ioctl for device

SSH コマンドが送れないので、provisioner も実行されない

解決

Vagrant のバージョンが古かった。最新 (執筆時点 1.8.7) のものに更新したところ、すんなり解決した。

参考: Unable to set hostname on Ubuntu 16.04 box
https://github.com/mitchellh/vagrant/issues/7288

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1