[Bug 350936] Re: Should shut down domains on system shutdown

2011-03-18 Thread Martin Rusko
Hi Roman, actually I ended up with molly-guard solution. It is suboptimal solution because it stops your virtual machines only when shutdown/restart is initiated manually (and only from remote ssh session). It won't apply if UPS initiates shutdown or if power button is pressed shortly, etc. In

[Bug 350936] Re: Should shut down domains on system shutdown

2010-12-28 Thread Martin Rusko
On John Morrissey's libvirt-bin.conf file ... there is construct like: delay=$SHUTDOWN_TIMEOUT while [ $delay -gt 0 ]; do for uri in $URIS; do if ! run_virsh -c $uri list | awk '$3 == running {exit 1}'; then

[Bug 350936] Re: Should shut down domains on system shutdown

2010-12-28 Thread Martin Rusko
Well placed 'break' command should make libvirt-bin.conf functioning correctly. ** Patch added: libvirt-bin.conf.diff https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/350936/+attachment/1778008/+files/libvirt-bin.conf.diff -- You received this bug notification because you are a member