1. create folder for config:
mkdir /etc/vbox
2. create configuration file:
touch autostart.cfg
3. Copy inside autostart.cfg below data. Where XXX=your user name :
default_policy = deny
XXX = {
allow = true
}
root = {
allow = true
}
4. Set location to configuration file:
VBoxManage setproperty autostartdbpath /etc/vbox/
5. Enable autostart and delay:
VBoxManage modifyvm ZZZ --autostart-enabled on --autostart-delay 60
Where ZZZ VM name.
Autostart delay mean how much time wait before start VM
No comments:
Post a Comment