diff --git a/bootstrap.sh b/bootstrap.sh index 341b51f..453c0e1 100644 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -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)