Awesome. Glad you got it working!
Awesome. Glad you got it working!
Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide
Tomorrow's an illusion and yesterday's a dream, today is a solution...
i cant seem to make it work please help me.. what vbox user am i looking for? iv tried several user but cant make it work.. please help
You need to tell it to run as whatever user you have those VMs running as. I have mine running under vboxuser.
Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide
Tomorrow's an illusion and yesterday's a dream, today is a solution...
The user in these scripts should be the one that owns the VMs. The default installation of vbox puts the VM directories under $HOME of the user who's installing the package, which normally is your own home directory. In that case, VBOXUSER in the scripts should be set to your user name.
Hope this helps...
EDIT: I see that Charles runs his VMs under a different user name, but that may be a bit advanced for you if you're having problems getting the scripts to work. Use a search utility such as find or catfish to locate your *.vdi files, which will be in a subdirectory of some user's home directory. That user will be the one to use.
Last edited by JKyleOKC; May 10th, 2013 at 06:11 AM. Reason: add some details
--
Jim Kyle in Oklahoma, USA
Linux Counter #259718
Howto mark thread: https://wiki.ubuntu.com/UnansweredPo.../SolvedThreads
Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide
Tomorrow's an illusion and yesterday's a dream, today is a solution...
im still trying to understand the script. could you help me understand ? i was wondering if i will only shutdown my ubuntu server without shuting down the VMs will the script safely shutdown the running VMs?
Yes. You can test it by running it manually:
Code:/etc/init.d/scriptname stop
Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide
Tomorrow's an illusion and yesterday's a dream, today is a solution...
i have tried the script. but i was afraid maybe my VMs would get corrupted? is there a possibility that this would occur? thank you for your response.
That is unlikely to occur. The script calls the functions VirtualBox uses when shutting down or saving the state of the VM. Unless your machine is powered off unexpectedly, you should be fine as long as the script is working.
Have you tested it already?
Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide
Tomorrow's an illusion and yesterday's a dream, today is a solution...
yes sir i have tried the script and it works thank you sir
Bookmarks