From ad86ed52b33d23d4e9387066cbe84c4474e52d14 Mon Sep 17 00:00:00 2001 From: sthope Date: Wed, 26 Jul 2023 06:11:22 +0200 Subject: [PATCH] Initial Commit --- VM/Cloud-Init/debian | 3 --- VM/Cloud-Init/ubuntu | 3 --- 2 files changed, 6 deletions(-) diff --git a/VM/Cloud-Init/debian b/VM/Cloud-Init/debian index 2e4383d..f9f8e47 100644 --- a/VM/Cloud-Init/debian +++ b/VM/Cloud-Init/debian @@ -83,9 +83,6 @@ qm set $vm_id --ipconfig0 ip=$ip4,ip6=$ip6 >/dev/null qm set $vm_id --ciuser "$username" --cipassword "$password" >/dev/null qm resize $vm_id scsi0 +"$hdd_size"G >/dev/null -if start_now == "y"; do - - if [ $start_now -eq 1 ]; then qm start $vm_id fi \ No newline at end of file diff --git a/VM/Cloud-Init/ubuntu b/VM/Cloud-Init/ubuntu index 6ae6957..9e67fdd 100644 --- a/VM/Cloud-Init/ubuntu +++ b/VM/Cloud-Init/ubuntu @@ -83,9 +83,6 @@ qm set $vm_id --ipconfig0 ip=$ip4,ip6=$ip6 >/dev/null qm set $vm_id --ciuser "$username" --cipassword "$password" >/dev/null qm resize $vm_id scsi0 +"$hdd_size"G >/dev/null -if start_now == "y"; do - - if [ $start_now -eq 1 ]; then qm start $vm_id fi \ No newline at end of file