Vagrant で使う Hyper-V 用の Ubuntu には hv-kvp-daemon-init が必要
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 のコンフィギュレーションもいまいちだし、いろんなエラーで嵌るし、もう少し待った方がいいのかな。
Author And Source
この問題について(Vagrant で使う Hyper-V 用の Ubuntu には hv-kvp-daemon-init が必要), 我々は、より多くの情報をここで見つけました https://qiita.com/hikoma/items/b226f7ce258d50b2b72a著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .