diff --git a/qemu-supportconfig b/qemu-supportconfig index f8382851..97e70441 100644 --- a/qemu-supportconfig +++ b/qemu-supportconfig @@ -69,7 +69,8 @@ plugin_command "ps -ef | grep qemu" plugin_command "ls -alR /var/lib/libvirt/images/" # network-related info often useful for debugging -if [ systemctl is-enabled NetworkManager.service 2>&1 > /dev/null ]; then +nm_enabled=$(systemctl is-enabled NetworkManager.service > /dev/null 2>&1; echo $?) +if [ $nm_enabled -eq 0 ]; then echo "NOTE: NetworkManager should not be enabled on a KVM host" fi plugin_command "ip route list" diff --git a/qemu.changes b/qemu.changes index 09454677..e0e3e243 100644 --- a/qemu.changes +++ b/qemu.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Jul 3 00:14:31 UTC 2021 - José Ricardo Ziviani + +- Fix qemu-supportconfig network-manager verification + ------------------------------------------------------------------- Thu Jul 1 20:15:02 UTC 2021 - José Ricardo Ziviani