Update unifi-os.sh
This commit is contained in:
@@ -301,6 +301,10 @@ write_files:
|
||||
}
|
||||
|
||||
runcmd:
|
||||
# Root unlock (Debian cloud) + s'assurer que le mot de passe est bien actif
|
||||
- passwd -u root || true
|
||||
- echo "root:root" | chpasswd
|
||||
|
||||
# Réseau: petite attente (DHCP)
|
||||
- bash -lc 'for i in {1..30}; do ping -c1 1.1.1.1 >/dev/null 2>&1 && break; sleep 2; done'
|
||||
|
||||
@@ -316,10 +320,6 @@ runcmd:
|
||||
# GRUB update (pour 1080p)
|
||||
- update-grub || true
|
||||
|
||||
# Root unlock (Debian cloud) + s'assurer que le mot de passe est bien actif
|
||||
- passwd -u root || true
|
||||
- echo "root:root" | chpasswd
|
||||
|
||||
# Agent Proxmox
|
||||
- systemctl enable qemu-guest-agent || true
|
||||
- systemctl start qemu-guest-agent || true
|
||||
|
||||
Reference in New Issue
Block a user