From 320105be369052d5c54fb520c4d2f68d146906c0 Mon Sep 17 00:00:00 2001 From: Roger Sikorski Date: Sun, 26 Feb 2023 17:30:54 +0100 Subject: [PATCH] fixed broken qm set Signed-off-by: Roger Sikorski --- ubuntu-lts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ubuntu-lts.sh b/ubuntu-lts.sh index dbc8400..fc80c59 100755 --- a/ubuntu-lts.sh +++ b/ubuntu-lts.sh @@ -27,7 +27,7 @@ virt-customize -a "$LAST_LTS_RELEASE-server-cloudimg-amd64.img" --install qemu-g echo "Create Proxmox VM image from Ubuntu Cloud Image" qm create "$VM_ID" --memory 1024 --balloon 0 --cores 2 --net0 virtio,bridge=vmbr0 --scsihw virtio-scsi-pci -qm set "$VM_ID" --scsi0 local-lvm:0,import-from="$LAST_LTS_RELEASE-server-cloudimg-amd64.img" +qm set "$VM_ID" --scsi0 local-lvm:0,import-from="$PWD/$LAST_LTS_RELEASE-server-cloudimg-amd64.img" qm set "$VM_ID" --agent enabled=1,fstrim_cloned_disks=1 echo "Create Cloud-Init Disk and configure boot"