Compare commits
3 commits
6d16e2e4ae
...
07abc842f0
Author | SHA1 | Date | |
---|---|---|---|
07abc842f0 |
|||
ab47e4f43c |
|||
ea0fc6e65a |
1 changed files with 2 additions and 2 deletions
|
@ -39,9 +39,9 @@ rm debian-12-generic-amd64.tar.xz
|
||||||
virt-customize -a disk.raw \
|
virt-customize -a disk.raw \
|
||||||
--update \
|
--update \
|
||||||
--install qemu-guest-agent \
|
--install qemu-guest-agent \
|
||||||
--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' \
|
||||||
|
--edit '/etc/ssh/sshd_config:s,#?Port.*,Port 42666,'
|
||||||
|
|
||||||
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