NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
chirpa
Mar 07, 2009Luminary
Running VirtualBox VM host on ReadyNAS Pro
What is VirtualBox? So, I got bored while laundry was going... and decided to see how well a virtual OS would run on the Pro. My first choice of VM was VirtualBox, just cause I'm familiar with it a...
chirpa
Mar 27, 2009Luminary
Haven't tested this yet, but covers the basics of having the VM start and stop on bootup... (till super-poussin makes a nice GUI add-on for it ;)
Add these lines:
/etc/default/services
My vboxctrl.sh script looks like this, obviously it can be made more generic:
Add these lines:
/etc/default/services
MOTION=1/etc/frontview/addons/addons.conf
VIRTUALBOX!!VirtualBox!!2.1.4!!/root/vboxctrl.sh start!!/root/vboxctrl.sh stop
My vboxctrl.sh script looks like this, obviously it can be made more generic:
#! /bin/sh
# Control VirtualBox with system startup/shutdown.
PATH=/bin:/usr/bin
case "$1" in
start|"")
/usr/bin/VBoxHeadless -startvm "ThinClient" &
;;
stop)
/usr/bin/VBoxManage controlvm "ThinClient" savestate
;;
status)
/usr/bin/VBoxManage showvminfo "ThinClient" | grep '^State:'
;;
restart|reload|force-reload)
echo "Error: argument '$1' not supported" >&2
exit 3
;;
*)
echo "Usage: vboxctrl.sh [start|stop|status]" >&2
exit 3
;;
esac
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!