Symptom
The first-boot wizard appears every time the TUI is launched, not just the first time.
Expected Behavior
The wizard should run once on first use, then never again. Choices made during the wizard should be persisted — either written as permanent config changes (e.g., enabling SSH, setting passwords) or saved to a config file (e.g., /etc/neuraldrive/config.yaml or similar).
On subsequent TUI launches, the wizard should be skipped entirely. The sentinel file /etc/neuraldrive/first-boot-complete exists for this purpose but either isn't being checked or isn't being written after wizard completion.
Suggested Fix
- Check for the sentinel file before pushing the wizard screen
- Ensure the wizard writes the sentinel on successful completion
- Persist wizard choices to a config file and/or apply them as system changes immediately
Symptom
The first-boot wizard appears every time the TUI is launched, not just the first time.
Expected Behavior
The wizard should run once on first use, then never again. Choices made during the wizard should be persisted — either written as permanent config changes (e.g., enabling SSH, setting passwords) or saved to a config file (e.g.,
/etc/neuraldrive/config.yamlor similar).On subsequent TUI launches, the wizard should be skipped entirely. The sentinel file
/etc/neuraldrive/first-boot-completeexists for this purpose but either isn't being checked or isn't being written after wizard completion.Suggested Fix