Re: Guest restarting after issuing a shutdown

2022-04-04 Thread jonetsu
On Fri, 1 Apr 2022 13:42:00 -0400 Andrea Bolognani wrote: > Try passing --no-reboot to virt-install. Thanks, this works very well. ... And it reminded me to look at the manual ! :) Cheers.

Re: Guest restarting after issuing a shutdown

2022-04-01 Thread Andrea Bolognani
On Fri, Apr 01, 2022 at 11:12:50AM -0400, jonetsu wrote: > guest : % shutdown now > host : Domain creation completed. > host : Restarting guest. > (virt-manager shows the guest restarting) Try passing --no-reboot to virt-install. > host : % virsh shutdown test02 > (nothing happens, guest s

Re: Guest restarting after issuing a shutdown

2022-04-01 Thread Peter Crowther
virt-install is expecting the installation process to need a reboot partway through, so carefully restarts the guest on its first shutdown. Then it gets out of the way. Either change what virt-install thinks it's installing (not sure how, never done it), or write and enable a service during install

Guest restarting after issuing a shutdown

2022-04-01 Thread jonetsu
Hello everyone, I create kvm machines using a bash script. As expected from the script, the resulting virtual machines are performing as they should be. The aspect that I do not get is at the end of the creation, when issuing a 'shutdown now' in the guest and expecting that it will shut down. I