I'm using oneiric with unity. I want to find a solution to automatically save the state of my virtualbox virtual machine before I logout or shutdown because I always forget to do it manually. I know I can use Vboxmanage controlvm [vmname] savestate to save state in terminal. But how do I make ubuntu execute this command before logging out?
Tell me more
×
Ask Ubuntu is a question and answer site for
Ubuntu users and developers. It's 100% free, no registration required.
|
|
|||
|
|
|
You can add the Vboxmanage command to your ~/.bash_logout file and it will execute upon the logoff event. |
|||
|