Add ConditionVirtualization=microsoft

Hyper-V daemons only make sense on Hyper-V.

Suggested-by: Chris Patterson <cpatterson@microsoft.com>
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
This commit is contained in:
Vitaly Kuznetsov 2022-07-14 16:23:12 +02:00
parent 18a043936f
commit f4c66aab85
3 changed files with 3 additions and 0 deletions

View File

@ -1,5 +1,6 @@
[Unit]
Description=Hyper-V FCOPY daemon
ConditionVirtualization=microsoft
BindsTo=sys-devices-virtual-misc-vmbus\x21hv_fcopy.device
IgnoreOnIsolate=1

View File

@ -1,5 +1,6 @@
[Unit]
Description=Hyper-V KVP daemon
ConditionVirtualization=microsoft
BindsTo=sys-devices-virtual-misc-vmbus\x21hv_kvp.device
After=network.target
IgnoreOnIsolate=1

View File

@ -1,5 +1,6 @@
[Unit]
Description=Hyper-V VSS daemon
ConditionVirtualization=microsoft
BindsTo=sys-devices-virtual-misc-vmbus\x21hv_vss.device
IgnoreOnIsolate=1