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