From ffa3781dc23e79e8f2d0c1993cfabb4e4fc6f2d0 Mon Sep 17 00:00:00 2001 From: Raimund Hook <1150270+StingRayZA@users.noreply.github.com> Date: Fri, 20 Sep 2019 16:29:09 +0100 Subject: [PATCH] Added note for hyperv-iso docs - hyperv-kvpd The docs don't mention any requirement for Linux guests to be running a hyper-v KVP daemon. This can cause a potentially long wait before timing out and failing a build. (Knowing this up front could also help new packer users - and save a large potential amount of searching for the appropriate solution) --- website/source/docs/builders/hyperv-iso.html.md.erb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/website/source/docs/builders/hyperv-iso.html.md.erb b/website/source/docs/builders/hyperv-iso.html.md.erb index f8d8ddf9b..66f8766ef 100644 --- a/website/source/docs/builders/hyperv-iso.html.md.erb +++ b/website/source/docs/builders/hyperv-iso.html.md.erb @@ -1012,3 +1012,5 @@ d-i pkgsel/update-policy select none choose-mirror-bin mirror/http/proxy string ``` + +-> **Note for *nix guests:** Please note that packer requires the VM to be running a hyper-v KVP daemon in order to detect the IP address of the guest VM. On RHEL based machines this may require installing the package `hyperv-daemons` and ensuring the `hypervkvpd` service is started at boot. On Debian based machines, you may need `linux-cloud-tools-common` for `hv_kvp_daemon`. Failure to do this may cause packer to wait at `Waiting for SSH to become available...` before eventually timing out.