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

ossjunkie ossjunkie at gmail.com
Mon Jul 5 15:20:42 BST 2010


as i really needed a solution i did a dirty workaround for servers:

move /sbin/shutdown to /sbin/shutdown.real
place the attached script to /sbin/shutdown and make it executable

you can do the same for /sbin/reboot to have it run even on "reboot,
halt, poweroff --force". you only need to change REALCMD to
/sbin/reboot.real

this way we could at least just run "reboot" and "shutdown" again
without worring about the guests.

** Attachment added: "shutdown"
   http://launchpadlibrarian.net/51414161/shutdown

-- 
Should shut down domains on system shutdown
https://bugs.launchpad.net/bugs/350936
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.



More information about the Ubuntu-server-bugs mailing list