Merge pull request #15766 from Security-Onion-Solutions/jertel/wip

support minion node descriptions containing spaces
This commit is contained in:
Jason Ertel
2026-04-13 15:24:45 -04:00
committed by GitHub
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -132,8 +132,8 @@ function getinstallinfo() {
log "ERROR" "Failed to get install info from $MINION_ID" log "ERROR" "Failed to get install info from $MINION_ID"
return 1 return 1
fi fi
export $(echo "$INSTALLVARS" | xargs) while read -r var; do export "$var"; done <<< "$INSTALLVARS"
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
log "ERROR" "Failed to source install variables" log "ERROR" "Failed to source install variables"
return 1 return 1
+1
View File
@@ -219,6 +219,7 @@ if [ -n "$test_profile" ]; then
WEBUSER=onionuser@somewhere.invalid WEBUSER=onionuser@somewhere.invalid
WEBPASSWD1=0n10nus3r WEBPASSWD1=0n10nus3r
WEBPASSWD2=0n10nus3r WEBPASSWD2=0n10nus3r
NODE_DESCRIPTION="${HOSTNAME} - ${install_type}"
update_sudoers_for_testing update_sudoers_for_testing
fi fi