From a94f2e7adc1e73791c733e40bddee12e7b9a8f05 Mon Sep 17 00:00:00 2001 From: Roy Dumblauskas Date: Thu, 29 May 2025 23:40:02 -0500 Subject: [PATCH] add checking for new required bootstrap input (target_administrator) --- nixos/bootstrap.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/bootstrap.sh b/nixos/bootstrap.sh index d6df66a..7299a75 100755 --- a/nixos/bootstrap.sh +++ b/nixos/bootstrap.sh @@ -145,8 +145,8 @@ while [[ $# -gt 0 ]]; do shift done -if [ -z "$target_hostname" ] || [ -z "$target_destination" ]; then - echo "ERROR: -n, -d, and -k are all required" +if [ -z "$target_hostname" ] || [ -z "$target_destination" ] || [ -z "$target_administrator" ]; then + echo "ERROR: -n, -d, and -a are all required" echo help_and_exit fi