VBoxManage

From Hawk Wiki
Revision as of 01:29, 1 December 2022 by Hall (Talk | contribs) (VBoxManage)

Jump to: navigation, search

VBoxManage

VBoxManage controlvm
# list vms 
VBoxManage list vms
# show detail
vboxmanage showvminfo "my-ubuntu" 

# power off
VBoxManage controlvm my-ubuntu poweroff

# start headless
VBoxManage startvm my-ubuntu --type headless

To make vboxautostart-service.service work, you need to disable SELinux

sudo setenforce 0
vim /etc/selinux/config
# change to SELINUX=permissive