diff --git a/.config.sample.env b/.config.sample.env index ac1a5b43..6c855c1d 100644 --- a/.config.sample.env +++ b/.config.sample.env @@ -56,4 +56,4 @@ export BOOTSTRAP_ANSIBLE_CONTROL_NODE_0="" # export BOOTSTRAP_ANSIBLE_HOST_ADDR_1="" # export BOOTSTRAP_ANSIBLE_SSH_USERNAME_1="" # export BOOTSTRAP_ANSIBLE_SUDO_PASSWORD_1="" -# export BOOTSTRAP_ANSIBLE_CONTROL_NODE_1="" \ No newline at end of file +# export BOOTSTRAP_ANSIBLE_CONTROL_NODE_1="" diff --git a/configure.sh b/configure.sh index 7c918f07..14754fb6 100755 --- a/configure.sh +++ b/configure.sh @@ -31,7 +31,7 @@ main() { verify_ansible_hosts verify_metallb verify_kubevip - verify_gpg_fp + verify_gpg verify_git_repository verify_cloudflare success @@ -115,7 +115,7 @@ _has_valid_ip() { fi } -verify_gpg_fp() { +verify_gpg() { _has_envar "BOOTSTRAP_PERSONAL_KEY_FP" _has_envar "BOOTSTRAP_FLUX_KEY_FP" @@ -144,6 +144,7 @@ verify_binaries() { _has_binary "ipcalc" _has_binary "jq" _has_binary "sops" + _has_binary "ssh" _has_binary "task" _has_binary "terraform" }