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 @@
enabled

View File

@@ -0,0 +1 @@
service

View File

@@ -0,0 +1 @@
18083

View File

@@ -0,0 +1 @@
localhost

View File

@@ -0,0 +1 @@
enabled

View File

@@ -0,0 +1 @@
service

View File

@@ -0,0 +1 @@
vbox

View File

@@ -0,0 +1,8 @@
{
my $rec = $DB->get('vboxweb-service') || $DB->new_record('vboxweb-service', {type => 'service'});
if (not exists $rec{'password'}) {
my @allowed = ('a'..'z', 'A'..'Z', 0..9);
my $pass = join '', map $allowed[rand @allowed], 0..32;
my $updateconfig = $rec->set_prop('password', $pass);
}
}