Updated main logic.
This commit is contained in:
@@ -503,7 +503,7 @@ if [[ "$ACTION_ANSWER" == "[1] 🌐 Deploy NixOS on a remote machine" ]]; then
|
|||||||
services_selection
|
services_selection
|
||||||
files_generation
|
files_generation
|
||||||
disk_config_generation
|
disk_config_generation
|
||||||
generate_disko_config
|
deploy
|
||||||
elif [[ "$ACTION_ANSWER" == "[2] 💽 Deploy NixOS on a remote machine with a file configuration" ]]; then
|
elif [[ "$ACTION_ANSWER" == "[2] 💽 Deploy NixOS on a remote machine with a file configuration" ]]; then
|
||||||
echo -e "\n ➡️ Proceeding with deployment using a config file…"
|
echo -e "\n ➡️ Proceeding with deployment using a config file…"
|
||||||
prerun_action "\n\n ➡️ On the target host : start the computer and boot into the NixOS iso.\n Launch a console and set up a new user password."
|
prerun_action "\n\n ➡️ On the target host : start the computer and boot into the NixOS iso.\n Launch a console and set up a new user password."
|
||||||
@@ -513,7 +513,7 @@ elif [[ "$ACTION_ANSWER" == "[2] 💽 Deploy NixOS on a remote machine with a fi
|
|||||||
services_selection
|
services_selection
|
||||||
files_generation
|
files_generation
|
||||||
disk_config_generation
|
disk_config_generation
|
||||||
generate_disko_config
|
deploy
|
||||||
elif [[ "$ACTION_ANSWER" == "[3] 🛠️ Update a NixOS remote machine" ]]; then
|
elif [[ "$ACTION_ANSWER" == "[3] 🛠️ Update a NixOS remote machine" ]]; then
|
||||||
echo -e "\n ➡️ Proceeding with update…"
|
echo -e "\n ➡️ Proceeding with update…"
|
||||||
prerun_action "\n\n ➡️ On the target host : make sure the NixOS installation you want to update is up-and-running, accessible with SSH."
|
prerun_action "\n\n ➡️ On the target host : make sure the NixOS installation you want to update is up-and-running, accessible with SSH."
|
||||||
|
|||||||
Reference in New Issue
Block a user