From 204bd51139b90365e104fad90487c044e8a9a5f6 Mon Sep 17 00:00:00 2001 From: June <june@jsts.xyz> Date: Thu, 13 Feb 2025 01:12:40 +0100 Subject: [PATCH] don't set a custom SSH port in the templ. as we now standardized on 22 Also see: https://git.hamburg.ccc.de/CCCHH/ansible-infra/commit/e3a1443df9ecda267b83402f76192e2a5bf7ca7b --- build-proxmox-template | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build-proxmox-template b/build-proxmox-template index db73021..84bad8b 100755 --- a/build-proxmox-template +++ b/build-proxmox-template @@ -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}