don't set a custom SSH port in the templ. as we now standardized on 22

Also see: e3a1443df9
This commit is contained in:
June 2025-02-13 01:12:40 +01:00 committed by max
parent d09f497d11
commit 3b66b655da

View file

@ -40,8 +40,7 @@ virt-customize -a disk.raw \
--install qemu-guest-agent \
--uninstall openipmi \
--run-command 'systemctl enable qemu-guest-agent' \
--run-command 'systemctl enable fstrim.timer' \
--edit '/etc/ssh/sshd_config:s,#?Port.*,Port 42666,'
--run-command 'systemctl enable fstrim.timer'
qm destroy ${VMID} || true
qm create ${VMID} --name "creating-vm" --memory 2048 --net0 virtio,bridge=${BRIDGE}