Correct placement of backslashes
This commit is contained in:
parent
c560ed72be
commit
1d6b0abae2
|
@ -19,10 +19,10 @@ virt-builder debian-12 -o ${NAME}.qcow2 --format qcow2 \
|
||||||
--run-command 'apt dist-upgrade -y' \
|
--run-command 'apt dist-upgrade -y' \
|
||||||
--install cloud-init,qemu-guest-agent \
|
--install cloud-init,qemu-guest-agent \
|
||||||
--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' \
|
||||||
--edit '/etc/default/grub:s,GRUB_CMDLINE_LINUX="",GRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0",' \
|
--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,' \
|
--edit '/etc/default/grub:s,GRUB_TIMEOUT=.*,GRUB_TIMEOUT=1,' \
|
||||||
--run-command 'update-grub' \
|
--run-command 'update-grub'
|
||||||
|
|
||||||
qm destroy ${VMID} || true
|
qm destroy ${VMID} || true
|
||||||
qm create ${VMID} --name ${NAME} --memory 1024 --net0 virtio,bridge=${BRIDGE}
|
qm create ${VMID} --name ${NAME} --memory 1024 --net0 virtio,bridge=${BRIDGE}
|
||||||
|
|
Loading…
Reference in a new issue