mirror of
https://github.com/blazblue547-afk/nova-os.git
synced 2026-12-02 14:54:17 -05:00
- 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
18 lines
415 B
Desktop File
18 lines
415 B
Desktop File
[Unit]
|
|
Description=Nova OS First-Boot Setup
|
|
Documentation=https://github.com/blazblue547-afk/nova-os
|
|
After=local-fs.target
|
|
Before=sshd.service network.target multi-user.target
|
|
ConditionPathExists=!/etc/nova-firstboot-done
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/usr/sbin/nova-firstboot
|
|
StandardOutput=journal+console
|
|
StandardError=journal+console
|
|
RemainAfterExit=yes
|
|
TimeoutSec=300
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|