dnf install dnf-utils needs-restarting -r echo $?
0 = no reboot
1 = reboot
virt-manager -c 'qemu+ssh://myuser@10.11.12.13:12345/system?keyfile=id_rsa'
dnf install dnf-utils needs-restarting -r echo $?
0 = no reboot
1 = reboot
virt-manager -c 'qemu+ssh://myuser@10.11.12.13:12345/system?keyfile=id_rsa'