From 06544efdfc4c89b8b8368e29ceb1c95068680b1c Mon Sep 17 00:00:00 2001 From: mischa Date: Fri, 5 May 2023 23:02:31 +0200 Subject: [PATCH] adding space --- deploy.pl | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/deploy.pl b/deploy.pl index 9630b64..822eca6 100755 --- a/deploy.pl +++ b/deploy.pl @@ -233,6 +233,9 @@ sub render_install_conf { chmod 0440, "$_htdocs/$_mac-install.conf"; chown 67, 67, "$_htdocs/$_mac-install.conf"; printf "%16s %s created\n", $_instance, $_htdocs . "/" . $_mac . "-install.conf"; + printf "%s %s\n", "hostname:", $_hostname; + printf "%9s %s\n", "ipv4:", $_ipv4; + printf "%9s %s\n", "ipv6:", $_ipv6; } elsif (-e $_disk && -e "$_htdocs/$_mac-install.conf") { unlink "$_htdocs/$_mac-install.conf" or warn "Unable to unlink file: $!\n"; printf "%16s %s deleted\n", $_instance, $_htdocs . "/" . $_mac . "-install.conf"; @@ -306,9 +309,9 @@ sub create_img_files { if (! -e $_disk) { if ($_VERSION < 6.6) { - $vmctl_create= "vmctl create $_disk -s $_disk_size 2>&1"; + $vmctl_create = "vmctl create $_disk -s $_disk_size 2>&1"; } else { - $vmctl_create= "vmctl create -s $_disk_size $_disk 2>&1"; + $vmctl_create = "vmctl create -s $_disk_size $_disk 2>&1"; } my $output = qx($vmctl_create); if ($? == 0) {