Remove /etc/machine-id

This commit is contained in:
Stefan Bethke 2026-03-31 13:12:35 +02:00
commit bac1018360

View file

@ -43,7 +43,8 @@ virt-customize -a disk.raw \
--install qemu-guest-agent \ --install qemu-guest-agent \
--uninstall openipmi \ --uninstall openipmi \
--run-command 'systemctl enable qemu-guest-agent' \ --run-command 'systemctl enable qemu-guest-agent' \
--run-command 'systemctl enable fstrim.timer' --run-command 'systemctl enable fstrim.timer' \
--run-command 'rm /etc/machine-id'
qm destroy ${VMID} || true qm destroy ${VMID} || true
qm create ${VMID} --name "creating-vm" --memory 2048 --net0 virtio,bridge=${BRIDGE} qm create ${VMID} --name "creating-vm" --memory 2048 --net0 virtio,bridge=${BRIDGE}