Skip to content

Commit

Permalink
OVA: Disable Hyper-V KVP protocol daemon
Browse files Browse the repository at this point in the history
Ubuntu 18.04 has a bug that causes the startup of the Hyper-V KVP
protocol Daemon to fail during boot. This service startup as a 90 second
timeout, and the boot process does not continue until this timeout
expires. There is no need for OVAs that are generated to run on ESXi to
run a daemon specific to Hyper-V, so we can disable it entirely. This
regains 90 seconds of boot time.
  • Loading branch information
codenrhoden committed Jan 30, 2020
1 parent 03ffc38 commit c06617b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion images/capi/ansible/roles/providers/tasks/vmware.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
path: /etc/cloud/cloud.cfg.d/99-disable-networking-config.cfg
state: absent
when: ansible_os_family == "VMware Photon OS"

#- name: Unlock password
# replace:
# path: /etc/cloud/cloud.cfg
Expand All @@ -76,3 +76,9 @@
dest: /usr/lib/cloud-init
state: link
when: ansible_os_family == "RedHat"

- name: Disable Hyper-V KVP protocol daemon
systemd:
name: hv-kvp-daemon
state: stopped
enabled: false

0 comments on commit c06617b

Please sign in to comment.