initial working

This commit is contained in:
2025-10-31 21:00:14 +01:00
commit c850cc6e7e
212 changed files with 24622 additions and 0 deletions

13
scripts/create_cloud_init_.sh Executable file
View File

@@ -0,0 +1,13 @@
SSH_PUBLIC_KEY="ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOyva+cul3WOW3ct53a0QMRTkhtKvA2QpJI0p8bv48tH alex@alex-XPS-15-9570"
SSH_KEY_FILE="/tmp/200_id_rsa.pub"
echo "$SSH_PUBLIC_KEY" > "$SSH_KEY_FILE"
# Esegui la configurazione completa (usando lo storage 'local' per gli snippet)
qm set 200 \
--ciuser root \
--sshkeys "$SSH_KEY_FILE" \
--ipconfig0 "ip=192.168.1.200/24,gw=192.168.1.1" \
--nameserver "8.8.8.8"
# Pulisci il file SSH temporaneo
rm "$SSH_KEY_FILE"