initial commit of file from CVS for smeserver-virtualbox

This commit is contained in:
Trevor Batley
2023-03-22 17:01:54 +11:00
parent 3a6c7bf0fc
commit e21eedfc94
34 changed files with 2058 additions and 3 deletions

View File

@@ -0,0 +1,14 @@
{
$vboxwebuser = (${'vboxweb-service'}{'user'} || 'vbox');
$vboxwebaccess = (${'vboxweb-service'}{'access'} || 127.0.0.1);
$vboxwebTCPPort = (${'vboxweb-service'}{'TCPPort'} || 18083);
$OUT .=<<_VBOX
VBOXWEB_USER=$vboxwebuser
VBOXWEB_HOST=$vboxwebaccess
VBOXWEB_PORT=$vboxwebTCPPort
VBOXWEB_LOGFILE=/var/log/virtualbox/vboxweb.log
INSTALL_DIR=/usr/lib/virtualbox
_VBOX
}

View File

@@ -0,0 +1,3 @@
{
$DB->hosts_allow_spec('vboxweb-service');
}

View File

@@ -0,0 +1,2 @@
[Service]
ExecStartPre=/usr/lib/virtualbox/fix_vboxdrv_kernel_module.sh

View File

@@ -0,0 +1,2 @@
[Install]
WantedBy=sme-server.target

View File

@@ -0,0 +1,2 @@
[Install]
WantedBy=sme-server.target