Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
Robin Thoni 1b297505a4 init 7 gadus atpakaļ
phpvirtualbox init 7 gadus atpakaļ
.gitignore init 7 gadus atpakaļ
README init 7 gadus atpakaļ
docker-compose.yml init 7 gadus atpakaļ
env init 7 gadus atpakaļ
update_vars.sh init 7 gadus atpakaļ

README

Install and configure virtualbox on host (as root):
```
apt-get install -y virtualbox
useradd -m vbox -G vboxusers
passwd vbox # put the provided password in env file
echo 'VBOXWEB_USER=vbox' >> /etc/default/virtualbox
echo 'VBOXWEB_HOST=0.0.0.0' >> /etc/default/virtualbox
systemctl enable vboxweb-service
systemctl start vboxweb-service
```
Then reboot

Allow autostart VMs (as root):
```
echo 'VBOXAUTOSTART_DB=/etc/vbox' >> /etc/default/virtualbox
echo 'VBOXAUTOSTART_CONFIG=/etc/vbox/vbox.cfg' >> /etc/default/virtualbox
echo 'default_policy = allow' > /etc/vbox/vbox.cfg
chgrp vboxusers /etc/vbox
chmod 1775 /etc/vbox
# in vbox shell (su vbox, not sudo): VBoxManage setproperty autostartdbpath /etc/vbox
# for each VM, when not running, in vbox shell (su vbox, not sudo): VBoxManage modifyvm VM_NAME --autostart-enabled on

```