Skip to content

Commit ba4e00a

Browse files
committed
docs: have cluster print when running in interactive mode
we primarily want this for an agent to easily see Signed-off-by: vsoch <vsoch@users.noreply.github.com>
1 parent f788750 commit ba4e00a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/flux/templates/wait.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,9 @@ brokerOptions="-Scron.directory=${configroot}/etc/flux/system/cron.d \
8888
{{ if not .Spec.Logging.Quiet }} -Slog-stderr-level={{or .Spec.Flux.LogLevel 6}} {{ else }} -Slog-stderr-level=0 {{ end }} \
8989
-Slog-stderr-mode=local"
9090

91-
9291
# Run an interactive cluster, giving no command to flux start
9392
function run_interactive_cluster() {
93+
echo "🧠 Running in interactive mode" {{ if .Spec.Logging.Quiet }}> /dev/null 2>&1{{ end }}
9494
echo "🌀 flux broker --config-path ${cfg} ${brokerOptions}"
9595
flux broker --config-path ${cfg} ${brokerOptions}
9696
}

0 commit comments

Comments
 (0)