If there is a complete config, skip the interactive portion and move on to install
If there config is missing or incomplete prompt for: password, ssk-key, install disk
then run install
Look at existing code for hhfab ssh to show interactive options
Need to figure out how to launch this binary at user login time. perhaps instead of a shell ? restricted shell?
Planning on keeping "core" user.
For install disk we are only going to show disks equal to or greater than 20 GB in size. Interactive list should show disk type (ssd or rotational), size, manufacturer, serial number. maybe lsblk but better columns. We should default show the "best" (according to us) disk for the install.
Sketch of control flow:
Look at existing code for hhfab ssh to show interactive options Need to figure out how to launch this binary at user login time. perhaps instead of a shell ? restricted shell? Planning on keeping "core" user.
For install disk we are only going to show disks equal to or greater than 20 GB in size. Interactive list should show disk type (ssd or rotational), size, manufacturer, serial number. maybe lsblk but better columns. We should default show the "best" (according to us) disk for the install.