- Remove dependency to network-online.target now that gethostname

is used in kvp_daemon

OBS-URL: https://build.opensuse.org/package/show/Virtualization/hyper-v?expand=0&rev=145
This commit is contained in:
Olaf Hering 2020-07-22 12:55:27 +00:00 committed by Git OBS Bridge
parent 2094d96fc6
commit 599863ea32
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jul 22 12:12:12 UTC 2020 - ohering@suse.de
- Remove dependency to network-online.target now that gethostname
is used in kvp_daemon
-------------------------------------------------------------------
Wed Jul 22 09:12:44 UTC 2020 - Guillaume GARDET <guillaume.gardet@opensuse.org>

View File

@ -139,9 +139,7 @@ tee ${d}/%{hv_kvp_daemon}.service <<EOF
# started via %{_udevrulesdir}/%{hv_kvp_daemon}.rules
[Unit]
Description=Hyper-V KVP Daemon
# During startup the current hostname is cached, so start very late
Requires=network-online.target
After=network-online.target
After=local-fs.target
ConditionVirtualization=microsoft
[Service]