diff --git a/build-proxmox-template b/build-proxmox-template index 1c10a46..cdc1be0 100755 --- a/build-proxmox-template +++ b/build-proxmox-template @@ -19,10 +19,10 @@ virt-builder debian-12 -o ${NAME}.qcow2 --format qcow2 \ --run-command 'apt dist-upgrade -y' \ --install cloud-init,qemu-guest-agent \ --run-command 'systemctl enable qemu-guest-agent' \ - --run-command 'systemctl enable fstrim.timer' + --run-command 'systemctl enable fstrim.timer' \ --edit '/etc/default/grub:s,GRUB_CMDLINE_LINUX="",GRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0",' \ --edit '/etc/default/grub:s,GRUB_TIMEOUT=.*,GRUB_TIMEOUT=1,' \ - --run-command 'update-grub' \ + --run-command 'update-grub' qm destroy ${VMID} || true qm create ${VMID} --name ${NAME} --memory 1024 --net0 virtio,bridge=${BRIDGE}