Compare commits

..

5 commits

Author SHA1 Message Date
6d16e2e4ae
make URL to use for downloading authorized_keys file configurable 2025-02-17 18:40:49 +01:00
524c839e2c
use downloaded authorized_keys
Use the authorized_keys getting downloaded into the temp directory, by
popping out of it later.
2025-02-17 18:40:49 +01:00
c84cf7b8d0 make settings configurable via environment variables set externally 2025-02-17 15:50:06 +01:00
3b66b655da don't set a custom SSH port in the templ. as we now standardized on 22
Also see: e3a1443df9
2025-02-13 23:53:19 +01:00
d09f497d11
remove openipmi from template as it results in a crashing service
It can always be installed after the fact, if indeed needed.
2025-02-13 01:09:36 +01:00

View file

@ -39,9 +39,9 @@ rm debian-12-generic-amd64.tar.xz
virt-customize -a disk.raw \
--update \
--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}