Update to logic. Added postrun actions. Have to work on postinstall script.

This commit is contained in:
Raphaël Numbus
2025-12-22 16:45:31 +01:00
parent fb751ca89b
commit 9559b232dc
5 changed files with 99 additions and 26 deletions
+6
View File
@@ -1,3 +1,9 @@
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p gum openssl sops ssh-to-age age sshpass envsubst pciutils usbutils mosquitto
gum confirm "Welcome to the Numbus-Server administration interface. Would you like to change a setting ?" \
|| { echo " ❌ Aborting as requested."; exit 1; }
ACTIONS_LIST=("Update networking settings" "Update backup settings" "Add/Remove services" \
"Add/Remove/Replace boot disk" "Add/Remove/Replace data disk(s)" "Add/Remove devices (i.e. coral TPUs)" \
"Test email notifications" "Check disk(s) health" "Export current configuration to a git server")