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}