- supportconfig: Use systemctl command 'is-active' instead of
'is-enabled' when checking if libvirtd is active OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=910
This commit is contained in:
parent
37f92ae699
commit
c3b5921c8b
@ -71,7 +71,7 @@ if ! rpm_verify libvirt-daemon; then
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if systemctl is-enabled libvirtd.service 2>&1 > /dev/null; then
|
if systemctl is-active --quiet libvirtd.service; then
|
||||||
plugin_command "virsh version"
|
plugin_command "virsh version"
|
||||||
plugin_command "virsh capabilities"
|
plugin_command "virsh capabilities"
|
||||||
plugin_command "virsh domcapabilities"
|
plugin_command "virsh domcapabilities"
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 18 15:44:15 UTC 2021 - James Fehlig <jfehlig@suse.com>
|
||||||
|
|
||||||
|
- supportconfig: Use systemctl command 'is-active' instead of
|
||||||
|
'is-enabled' when checking if libvirtd is active
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Oct 15 21:38:21 UTC 2021 - James Fehlig <jfehlig@suse.com>
|
Fri Oct 15 21:38:21 UTC 2021 - James Fehlig <jfehlig@suse.com>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user