Files
org-roam/20230504095005-virtualbox.org
2025-11-05 09:18:11 +01:00

1.9 KiB

virtualbox

VirtualBox is a powerful x86 and AMD64/Intel64 virtualization product for enterprise as well as home use. Not only is VirtualBox an extremely feature rich, high performance product for enterprise customers, it is also the only professional solution that is freely available as Open Source Software under the terms of the GNU General Public License (GPL) version 3. See "About VirtualBox" for an introduction.

Virtuialbox is a VM Manager designed by oracle. It is used to host software and linux distributions in Madrigal Inc.

Headless operation

Write the following line in your terminal:

 VBoxManage list vms

After you got the names of the installed VM, write the name of the VM you want to run into the command:

  VBoxHeadless -s <name-of-VM>

Starting virtual machines with a service (autostart)

Find hereafter the implementation details of a systemd service that will be used to consider a virtual machine as a service.

[Unit]
Description=VBox Virtual Machine %i Service
Requires=systemd-modules-load.service
After=systemd-modules-load.service

[Service]
User=username
Group=vboxusers
ExecStart=/usr/bin/VBoxManage startvm %i --type startmode
ExecStop=/usr/bin/VBoxManage controlvm %i stopmode
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target

Post the information in

/etc/systemd/system/vboxvmservice@.service

and start the service

VirtualBox is installed on W10 on this cluster

Note: virtualbox is installed to use the freepbx & linphone