From 3b66b655dac4d474bbe779cbadacb51979c2629c 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 863f123..29adf75 100755 --- a/build-proxmox-template +++ b/build-proxmox-template @@ -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}