Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[Feature] Set hostname, set first user and set root password. #8
A new screen is required where the user can insert a valid hostname to the new machine, the first user's username, the first user's password, and the root's password.
A double field with matching assertion is desired, but not required. Passwords shouldn't echo. It's recommended to use TextFields and present the input in at least three separate rows.
t's not necessary to create the user, set the password or set/write the hostname, as that will be appended to the setup script so the user can review it on later steps. So only keeping each field in memory is enough.
For layout/design inspirations, one can consult other screens, especially WifiMenu.
Estimated complexity: 100 lines of C code + 130 lines of QML.
Files that may be created:
Files that have to be modified: