diff --git a/Ubuntu-LTS-Large.sh b/Ubuntu-LTS-Large.sh index acbca8b..f67dd81 100644 --- a/Ubuntu-LTS-Large.sh +++ b/Ubuntu-LTS-Large.sh @@ -5,7 +5,7 @@ CPU_SOCKET=2 RAM=8192 DISK=100 #getting latest image" -#wget https://cloud-images.ubuntu.com/noble/current/noble-server-cloudimg-amd64.img +wget https://cloud-images.ubuntu.com/noble/current/noble-server-cloudimg-amd64.img installing qemu guest agent and remove HW ID virt-customize -a jnoble-server-cloudimg-amd64.img --install qemu-guest-agent,docker.io,docker-compose virt-customize -a jnoble-server-cloudimg-amd64.img --run-command "echo -n > /etc/machine-id" @@ -20,5 +20,5 @@ qm resize $VM_ID scsi0 "$DISK"G qm set "$VM_ID" --ipconfig0 ip=dhcp qm set "$VM_ID" --agent enabled=1 qm template "$VM_ID" -rm jnoble-server-cloudimg-amd64.img #clean iso +rm noble-server-cloudimg-amd64.img #clean iso echo "Template er ferdig med id "$VM_ID"" \ No newline at end of file diff --git a/Ubuntu-LTS-Medium.sh b/Ubuntu-LTS-Medium.sh index 3662841..ed8c41c 100644 --- a/Ubuntu-LTS-Medium.sh +++ b/Ubuntu-LTS-Medium.sh @@ -5,7 +5,7 @@ CPU_SOCKET=2 RAM=4096 DISK=50 #getting latest image" -#wget https://cloud-images.ubuntu.com/noble/current/noble-server-cloudimg-amd64.img +wget https://cloud-images.ubuntu.com/noble/current/noble-server-cloudimg-amd64.img installing qemu guest agent and remove HW ID virt-customize -a jnoble-server-cloudimg-amd64.img --install qemu-guest-agent,docker.io,docker-compose virt-customize -a jnoble-server-cloudimg-amd64.img --run-command "echo -n > /etc/machine-id" @@ -20,5 +20,5 @@ qm resize $VM_ID scsi0 "$DISK"G qm set "$VM_ID" --ipconfig0 ip=dhcp qm set "$VM_ID" --agent enabled=1 qm template "$VM_ID" -rm jnoble-server-cloudimg-amd64.img #clean iso +rm noble-server-cloudimg-amd64.img #clean iso echo "Template er ferdig med id "$VM_ID"" \ No newline at end of file diff --git a/Ubuntu-LTS-Small.sh b/Ubuntu-LTS-Small.sh index 26f5221..ef51cae 100644 --- a/Ubuntu-LTS-Small.sh +++ b/Ubuntu-LTS-Small.sh @@ -20,5 +20,5 @@ qm resize $VM_ID scsi0 "$DISK"G qm set "$VM_ID" --ipconfig0 ip=dhcp qm set "$VM_ID" --agent enabled=1 qm template "$VM_ID" -#rm noble-server-cloudimg-amd64.img #clean iso +rm noble-server-cloudimg-amd64.img #clean iso echo "Template er ferdig med id "$VM_ID"" \ No newline at end of file