[wip] Redirect so-user-add to separate log so ERROR isn't in main log

This commit is contained in:
William Wernert
2020-10-26 15:03:27 -04:00
parent 3648e293a1
commit 37ede9b993

View File

@@ -173,7 +173,7 @@ add_web_user() {
echo "Attempting to add administrator user for web interface..."; echo "Attempting to add administrator user for web interface...";
echo "$WEBPASSWD1" | /usr/sbin/so-user add "$WEBUSER"; echo "$WEBPASSWD1" | /usr/sbin/so-user add "$WEBUSER";
echo "Add user result: $?"; echo "Add user result: $?";
} >> "$setup_log" 2>&1 } >> "/root/so-user-add.log" 2>&1
} }
# Create an secrets pillar so that passwords survive re-install # Create an secrets pillar so that passwords survive re-install