Fix ssh_setup.sh: HOST_CONF path missing Configurations/ subdirectory
Was looking for host1.conf at SCRIPTS_ROOT/host1.conf instead of SCRIPTS_ROOT/Configurations/host1.conf — causing the 'host1.conf not found' warning and leaving HOST1_SSH_KEY unwritten after key generation.
This commit is contained in:
@@ -85,7 +85,7 @@ SSH_PUB_PATH="${SSH_KEY_PATH}.pub"
|
||||
|
||||
# ── Host conf path ────────────────────────────────────────────────────────────────────────────
|
||||
HOST_NUM="${MY_ID#HOST}" # "1" or "2"
|
||||
HOST_CONF="$SCRIPTS_ROOT/host${HOST_NUM}.conf"
|
||||
HOST_CONF="$SCRIPTS_ROOT/Configurations/host${HOST_NUM}.conf"
|
||||
KEY_CONF_VAR="${MY_ID}_SSH_KEY"
|
||||
|
||||
# ── Strike state file ─────────────────────────────────────────────────────────────────────────
|
||||
|
||||
Reference in New Issue
Block a user