Compare commits

...

2 Commits

Author SHA1 Message Date
mischa da1080d4c8 move startx to 7.9 2023-10-15 14:06:45 +02:00
mischa 3576397198 adding 5 seconds wait after VM started, workaround to prevent the vmd process to hang 2023-10-15 14:06:05 +02:00
2 changed files with 3 additions and 3 deletions

View File

@ -36,7 +36,7 @@
# 2023/05/03 added: predefined IPv6 address, gw # 2023/05/03 added: predefined IPv6 address, gw
# 2023/05/08 added: DHCPD=no to not overwrite existing dhcpd.conf, does require config for autoinstall(8) # 2023/05/08 added: DHCPD=no to not overwrite existing dhcpd.conf, does require config for autoinstall(8)
# #
use 5.024; use v5.36;
use strict; use strict;
use warnings; use warnings;
use autodie; use autodie;
@ -92,7 +92,7 @@ sub render_vm_conf {
printf $fh_vm "#\n# File generated by deploy.pl\n#\n"; printf $fh_vm "#\n# File generated by deploy.pl\n#\n";
printf $fh_vm "socket owner :%s\n", $conf{'conf'}{'VMDUSERS'}; printf $fh_vm "socket owner :%s\n", $conf{'conf'}{'VMDUSERS'};
printf $fh_vm "staggered start parallel 2 delay 90\n"; printf $fh_vm "staggered start parallel 2 delay 90\n";
if ($_VERSION > 7.2) { if ($_VERSION > 7.9) {
printf $fh_vm "agentx\n"; printf $fh_vm "agentx\n";
} }

View File

@ -29,7 +29,7 @@ echo "Starting ${#VMS[*]} VMs on ${CPU} CPUs in ${CYCLES} cycle(s), waiting ${SL
COUNTER=0 COUNTER=0
for i in ${VMS[*]}; do for i in ${VMS[*]}; do
COUNTER=$((${COUNTER}+1)) COUNTER=$((${COUNTER}+1))
vmctl start ${i} vmctl start ${i} ; sleep 5
if [ $COUNTER -eq $CPU ]; then if [ $COUNTER -eq $CPU ]; then
sleep ${SLEEP} sleep ${SLEEP}
COUNTER=0 COUNTER=0