Relocate first-login.sh

This commit is contained in:
admin
2026-06-12 14:43:23 +02:00
parent 6b92b34825
commit 3ee5b489d8

View File

@@ -136,7 +136,7 @@ chmod 600 /root/.ssh/authorized_keys
### 8. Création du script first-login
cat << 'EOF' > /etc/profile.d/first-login.sh
cat << 'EOF' > /root/first-login.sh
#!/bin/bash
HOSTNAME=$(hostname)