Difference between revisions of "VBoxManage"

From Hawk Wiki
Jump to: navigation, search
(Created page with "==VBoxManage== <pre> VBoxManage controlvm # list vms VBoxManage list vms # show detail VBoxManage showvminfo vb1 </pre> === To make vboxautostart-service.service work, you n...")
 
(VBoxManage)
Line 5: Line 5:
 
VBoxManage list vms
 
VBoxManage list vms
 
# show detail
 
# show detail
VBoxManage showvminfo vb1
+
vboxmanage showvminfo "my-ubuntu"
 +
 
 +
# power off
 +
VBoxManage controlvm my-ubuntu poweroff
 +
 
 +
# start headless
 +
VBoxManage startvm my-ubuntu --type headless
 +
 
 
</pre>
 
</pre>
  

Revision as of 01:29, 1 December 2022

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