revert #disable, needs redesign of deploy process

This commit is contained in:
mischa 2020-05-24 13:11:17 +02:00
parent b4f4b09d07
commit 87bcc18335
1 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@
# 2019/09/29 added: doas.conf for pkill option # 2019/09/29 added: doas.conf for pkill option
# 2020/05/10 changed: includes all install sets, inline with sysupgrade # 2020/05/10 changed: includes all install sets, inline with sysupgrade
# 2020/05/22 changed: set the hosts password for the users # 2020/05/22 changed: set the hosts password for the users
# 2020/05/24 changed: add staggered option to vm.conf and #disable # 2020/05/24 changed: add staggered option to vm.conf, leave disable for now
# #
use 5.024; use 5.024;
use strict; use strict;
@ -103,7 +103,7 @@ sub render_vm_conf {
my $_mac = $vms{$vm_name}{'mac'} || $conf{'conf'}{'MAC_PREFIX'} . ":" . $vms{$vm_name}{'vm_number'}; my $_mac = $vms{$vm_name}{'mac'} || $conf{'conf'}{'MAC_PREFIX'} . ":" . $vms{$vm_name}{'vm_number'};
printf $fh_vm "vm \"%s\" {\n", $_instance; printf $fh_vm "vm \"%s\" {\n", $_instance;
printf $fh_vm "\t#disable\n"; printf $fh_vm "\tdisable\n";
printf $fh_vm "\towner %s\n", $_owner; printf $fh_vm "\towner %s\n", $_owner;
printf $fh_vm "\tmemory %s\n", $_memory if $_memory; printf $fh_vm "\tmemory %s\n", $_memory if $_memory;
printf $fh_vm "\tboot \"%s\"\n", $_boot if (! -e $_disk); printf $fh_vm "\tboot \"%s\"\n", $_boot if (! -e $_disk);