This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
packages:virtualbox [2014-03-05 11:07] glen |
packages:virtualbox [2014-03-05 11:09] glen |
||
---|---|---|---|
Line 10: | Line 10: | ||
$ VBoxManage setproperty autostartdbpath /etc/vbox/autostart | $ VBoxManage setproperty autostartdbpath /etc/vbox/autostart | ||
</code> | </code> | ||
- | - modify VM to enable autostart of it. (use ''VBoxManage list vms'' or ''VBoxManage list runningvms'' to figure out the UUID or VM name):<code sh> | + | - modify VM to enable autostart of it: <code sh> |
$ VBoxManage modifyvm <uuid|vmname> --autostart-enabled on | $ VBoxManage modifyvm <uuid|vmname> --autostart-enabled on | ||
</code> | </code> | ||
+ | You can use ''VBoxManage list vms'' or ''VBoxManage list runningvms'' to figure out the UUID or VM name). | ||
+ | If you're using [[vagrant]], then you can obtain uuid from ''id'' file: | ||
+ | <code sh> | ||
+ | $ cat .vagrant/machines/default/virtualbox/id | ||
+ | 238dd504-f9f5-48c9-b214-cf64f16dc0ce | ||
+ | </code> |