Remove /etc/machine-id
This commit is contained in:
parent
52e98c906a
commit
bac1018360
1 changed files with 2 additions and 1 deletions
|
|
@ -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}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue