Compare commits

..

3 commits

Author SHA1 Message Date
07abc842f0
make URL to use for downloading authorized_keys file configurable 2025-02-16 23:40:59 +01:00
ab47e4f43c
use downloaded authorized_keys
Use the authorized_keys getting downloaded into the temp directory, by
popping out of it later.
2025-02-16 23:35:03 +01:00
ea0fc6e65a
make settings configurable via environment variables set externally 2025-02-16 23:33: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'
--run-command 'systemctl enable fstrim.timer' \
--edit '/etc/ssh/sshd_config:s,#?Port.*,Port 42666,'
qm destroy ${VMID} || true
qm create ${VMID} --name "creating-vm" --memory 2048 --net0 virtio,bridge=${BRIDGE}