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 1/2] 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. From cfa3e7ec9fe15ae0c6b3cc745865eea01c7ae665 Mon Sep 17 00:00:00 2001 From: Raimund Hook <1150270+StingRayZA@users.noreply.github.com> Date: Fri, 20 Sep 2019 17:16:13 +0100 Subject: [PATCH 2/2] Update website/source/docs/builders/hyperv-iso.html.md.erb Co-Authored-By: Adrien Delorme --- website/source/docs/builders/hyperv-iso.html.md.erb | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/website/source/docs/builders/hyperv-iso.html.md.erb b/website/source/docs/builders/hyperv-iso.html.md.erb index 66f8766ef..97cdb8cb4 100644 --- a/website/source/docs/builders/hyperv-iso.html.md.erb +++ b/website/source/docs/builders/hyperv-iso.html.md.erb @@ -1013,4 +1013,10 @@ 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. +-> **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.