LoginSignup
3
3

More than 5 years have passed since last update.

Vagrant で使う Hyper-V 用の Ubuntu には hv-kvp-daemon-init が必要

Last updated at Posted at 2014-10-06

Hyper-V 用の Ubuntu の Box を作成したのですが、vagrant up で以下のようなエラーが発生しました。

==> default: Starting the machine...
==> default: Waiting for the machine to report its IP address...
    default: Timeout: 120 seconds
Hyper-V failed to determine your machine's IP address within the
configured timeout. Please verify the machine properly booted and
the network works. To do this, open the Hyper-V manager, find your
virtual machine, and connect to it.

The most common cause for this error is that the running virtual
machine doesn't have the latest Hyper-V integration drivers. Please
research for your operating system how to install these in order
for the VM to properly communicate its IP address to Hyper-V.

Ubuntu に hv-kvp-daemon-init をインストールして Box を作り直したらエラーが直りました。
本家では 12.04 では必要と言っていますが、14.04 でも必要のようです。

$ sudo apt-get update
$ sudo apt-get install hv-kvp-daemon-init

あと Box を zip で作ると bsdtar.exe のエラーが発生することがあるので、7-Zip で tar を作った後に tar.gz を作ると上手く行っています。Hyper-V は provider のコンフィギュレーションもいまいちだし、いろんなエラーで嵌るし、もう少し待った方がいいのかな。

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