v4.2: first-boot auto-expand, SSH key regeneration, forced password change

- Added nova-firstboot systemd service (runs once on first boot)
- Auto-expands root partition to fill SD card (fdisk + resize2fs)
- Removes pre-generated SSH host keys (sshd regenerates fresh)
- Forces root password change on first login (shadow last_change=0)
- Compiled e2fsprogs 1.47.2 from source for resize2fs
- Updated os-release, motd, and build script
This commit is contained in:
blazblue547-afk committed 2026-06-14 13:01:34 -04:00
1 parent b1f913ff14
commit 79f80c645d
6 files changed
+88 -1

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@
set -e
NOVA_ROOT="/home/joe/nova-os"
IMAGE="$NOVA_ROOT/nova-os-4.1-ssh.img"
IMAGE="$NOVA_ROOT/nova-os-4.2-firstboot.img"
SIZE_MB=1536 # 1.5 GB
TMP_MNT="/tmp/nova-os-mnt"