You've already forked documentation
mirror of
https://github.com/armbian/documentation.git
synced 2026-01-06 10:13:36 -08:00
Fix typo in User-Guide_Autoconfig.md
Typo: `armbian-firstlogin` script looks for a `provisioning.sh` with an extension.
This commit is contained in:
@@ -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"
|
||||
```
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user