Skip to content

TUI wizard runs every launch — should only run on first use #8

@eshork

Description

@eshork

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

  1. Check for the sentinel file before pushing the wizard screen
  2. Ensure the wizard writes the sentinel on successful completion
  3. Persist wizard choices to a config file and/or apply them as system changes immediately

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions