Update debian-13-fr-vm-v2.sh

This commit is contained in:
2026-02-21 18:08:58 +01:00
parent 74377e2903
commit 9ac4868166

View File

@@ -251,6 +251,14 @@ packages:
locale: fr_FR.UTF-8 locale: fr_FR.UTF-8
disable_root: false
ssh_pwauth: true
chpasswd:
expire: false
list: |
root:root
write_files: write_files:
# Console keymap FR + police petite # Console keymap FR + police petite
- path: /etc/default/console-setup - path: /etc/default/console-setup
@@ -276,6 +284,9 @@ write_files:
GRUB_GFXPAYLOAD_LINUX=keep GRUB_GFXPAYLOAD_LINUX=keep
runcmd: runcmd:
- passwd -u root || true
# Locale # Locale
- sed -i 's/^# *fr_FR.UTF-8 UTF-8/fr_FR.UTF-8 UTF-8/' /etc/locale.gen || true - 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 - locale-gen fr_FR.UTF-8 || true
@@ -291,6 +302,8 @@ runcmd:
# Agent Proxmox # Agent Proxmox
- systemctl enable qemu-guest-agent || true - systemctl enable qemu-guest-agent || true
- systemctl start qemu-guest-agent || true - systemctl start qemu-guest-agent || true
EOF EOF
# Attach snippet to VM (requires 'local' storage with Snippets enabled) # Attach snippet to VM (requires 'local' storage with Snippets enabled)