Skip to content

Commit ee8e0e7

Browse files
committed
fixup! docs(netboot): add full netboot setup guide
1 parent a880e18 commit ee8e0e7

1 file changed

Lines changed: 17 additions & 4 deletions

File tree

extensions/netboot/README.md

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -500,10 +500,23 @@ VFS: Mounted root (nfs filesystem) readonly on device 0:17.
500500
helios64 login:
501501
```
502502

503-
Default credentials are `root` / `1234` (the wizard was suppressed at
504-
build time, so the shell is usable immediately). The
505-
`armbian-firstrun.service` line means SSH host keys have been
506-
regenerated on this boot — they'll persist in the NFS rootfs.
503+
For quick lab validation, default credentials are `root` / `1234`
504+
because the wizard was suppressed at build time. **Do not leave that
505+
state on any network you don't fully trust** — the wizard is the only
506+
thing that normally forces a password change, and netboot deliberately
507+
skips it. Pick one before the first boot on an untrusted LAN:
508+
509+
- set `ROOTPWD=<strong password>` at build time;
510+
- or provision a sudo-capable user + `authorized_keys` via
511+
`userpatches/customize-image.sh` and disable root password login
512+
(`PasswordAuthentication no` / `PermitRootLogin prohibit-password`);
513+
- or write `PRESET_*` into `/root/.not_logged_in_yet` so
514+
`preset-firstrun` applies them non-interactively on first boot
515+
(the extension preserves non-empty trigger files — see the
516+
`armbian-firstlogin` table above).
517+
518+
The `armbian-firstrun.service` line in the boot log means SSH host keys
519+
have been regenerated on this boot — they'll persist in the NFS rootfs.
507520

508521
## Troubleshooting
509522

0 commit comments

Comments
 (0)