From 8fd52970bbc6bbf7ea4a9936aa36b61a8969759d Mon Sep 17 00:00:00 2001 From: mischa Date: Sun, 9 Jan 2022 16:51:30 +0100 Subject: [PATCH] change jot slightly to exclude - and ~ --- deploy.pl | 2 +- vms/vm01.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy.pl b/deploy.pl index 2a204e4..a37ae70 100755 --- a/deploy.pl +++ b/deploy.pl @@ -190,7 +190,7 @@ sub render_install_conf { if (! -e $_disk) { my $_hostname = $vms{$vm_name}{'hostname'}; - my $jot_pass = qx(jot -rcs '' 20 33 126); + my $jot_pass = qx(jot -rcs '' 20 46 125); chomp($jot_pass); my $_ipv6 = $conf{'conf'}{'IPV6_PREFIX'} . ":" . ($conf{'conf'}{'IPV6_START'} + $vms{$vm_name}{'vm_number'}) . "::" . ($conf{'conf'}{'IP_START'} + $vms{$vm_name}{'vm_number'}); my $_ipv6_gateway = $conf{'conf'}{'IPV6_PREFIX'} . ":" . ($conf{'conf'}{'IPV6_START'} + $vms{$vm_name}{'vm_number'}) . "::1"; diff --git a/vms/vm01.txt b/vms/vm01.txt index 20f329e..ec75b15 100644 --- a/vms/vm01.txt +++ b/vms/vm01.txt @@ -1,7 +1,7 @@ mac="fe:e1:ab:dd:73:a4" ip="192.168.1.1" owner="testuser1" -date="2018/11/02" +date="2018/12/02" payment="70" donated="" name="Test1 User"