Fix typo in User-Guide_Autoconfig.md

Typo: `armbian-firstlogin` script looks for a `provisioning.sh` with an extension.
This commit is contained in:
Zoom
2025-06-10 17:03:13 +03:00
committed by Igor
parent bd7a7dad3c
commit 9b2d34b3a9

View File

@@ -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. Its 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. Its 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"
```
```