af383a2648
- Only start kvpd under Hyper-V. - Minimize dependencies for kvpd by removing the unnecessary network.target requirement, but add kvp device and mount requirements. - Start before cloud-init-local.service which relies on kvpd for Azure. Signed-off-by: Chris Patterson <cpatterson@microsoft.com>
13 lines
323 B
Desktop File
13 lines
323 B
Desktop File
[Unit]
|
|
Description=Hyper-V KVP daemon
|
|
ConditionVirtualization=microsoft
|
|
BindsTo=sys-devices-virtual-misc-vmbus\x21hv_kvp.device
|
|
After=sys-devices-virtual-misc-vmbus\x21hv_kvp.device
|
|
RequiresMountsFor=/var/lib/hyperv
|
|
Before=cloud-init-local.service
|
|
IgnoreOnIsolate=1
|
|
|
|
[Service]
|
|
Type=simple
|
|
ExecStart=/usr/sbin/hypervkvpd -n
|