Update cloud-init-template.sh

This commit is contained in:
Matthew Fisher 2024-04-10 14:01:43 -05:00
parent 4a2b0d3c7b
commit 78f1ffefbf

View File

@ -8,7 +8,7 @@ IMAGE=jammy-server-cloudimg-amd64.img
# remove existing image in case last execution did not complete successfully
rm *-server-cloudimg-amd64.img
wget http://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img
virt-customize -a $IMAGE --install [qemu-guest-agent,rsyslog]
virt-customize -a $IMAGE --install ['qemu-guest-agent','rsyslog']
virt-customize -a $IMAGE --truncate /etc/machine-id
qm create 9004 --name "ubuntu-2204-cloudinit-template" --memory 2048 --cores 2 --net0 virtio,bridge=vmbr1