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

Merged
max merged 1 commit from remove_custom_ssh_port_config into main 2025-02-13 23:53:19 +01:00
Showing only changes of commit 204bd51139 - Show all commits

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

Also see: e3a1443df9
June 2025-02-13 01:12:40 +01:00
Signed by: june
SSH key fingerprint: SHA256:o9EAq4Y9N9K0pBQeBTqhSDrND5E7oB+60ZNx0U1yPe0

View file

@ -39,8 +39,7 @@ virt-customize -a disk.raw \
--update \
--install qemu-guest-agent \
--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}