diff --git a/docs/User-Guide_Autoconfig.md b/docs/User-Guide_Autoconfig.md index 412bf296..f01ef118 100644 --- a/docs/User-Guide_Autoconfig.md +++ b/docs/User-Guide_Autoconfig.md @@ -107,16 +107,16 @@ PRESET_USER_SHELL="bash" ## Provisioning script -`/root/provisioning` is executed once as root after the first successful login, either manual or automated. It’s used to perform final system setup tasks like installing packages, configuring the system, or enabling services. +`/root/provisioning.sh` is executed once as root after the first successful login, either manual or automated. It’s used to perform final system setup tasks like installing packages, configuring the system, or enabling services. The example script updates package lists, installs htop, sets a custom hostname. -```bash title="/root/provisioning" +```bash title="/root/provisioning.sh" #!/bin/bash set -e echo "Provisioning started" apt update && apt install -y htop hostnamectl set-hostname my-device echo "Provisioning complete" -``` \ No newline at end of file +```