diff --git a/debian-13-fr-vm-v2.sh b/debian-13-fr-vm-v2.sh index f8ae4ba..5a93a98 100644 --- a/debian-13-fr-vm-v2.sh +++ b/debian-13-fr-vm-v2.sh @@ -251,6 +251,14 @@ packages: locale: fr_FR.UTF-8 +disable_root: false +ssh_pwauth: true + +chpasswd: + expire: false + list: | + root:root + write_files: # Console keymap FR + police petite - path: /etc/default/console-setup @@ -276,6 +284,9 @@ write_files: GRUB_GFXPAYLOAD_LINUX=keep runcmd: + + - passwd -u root || true + # Locale - sed -i 's/^# *fr_FR.UTF-8 UTF-8/fr_FR.UTF-8 UTF-8/' /etc/locale.gen || true - locale-gen fr_FR.UTF-8 || true @@ -291,6 +302,8 @@ runcmd: # Agent Proxmox - systemctl enable qemu-guest-agent || true - systemctl start qemu-guest-agent || true + + EOF # Attach snippet to VM (requires 'local' storage with Snippets enabled)