Compare commits
2 Commits
eb0f18651f
...
da1080d4c8
Author | SHA1 | Date |
---|---|---|
mischa | da1080d4c8 | |
mischa | 3576397198 |
|
@ -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";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue