githedgehog / fabricator

Hedgehog Open Network Fabric Installer
https://docs.githedgehog.com/
Apache License 2.0
3 stars 2 forks source link

Implement hhfab-control-os-install (non-interactive) #122

Open mrbojangles3 opened 3 months ago

mrbojangles3 commented 3 months ago

Sketch of control flow:

  1. If there is a complete config, skip the interactive portion and move on to install
  2. If there config is missing or incomplete prompt for: password, ssk-key, install disk
  3. 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.

mrbojangles3 commented 1 month ago

The user interaction portion of this ticket is going to be moved to a Beta2 feature.