Skip to content

Commit d4178c7

Browse files
authored
agent: filter installer output (#1502)
1 parent a755eb1 commit d4178c7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

agent/06_agent_create_cluster.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,8 @@ function wait_for_cluster_ready() {
9696
fi
9797

9898
echo "Waiting for cluster ready... "
99-
if ! "${openshift_install}" --dir="${OCP_DIR}" --log-level=debug agent wait-for install-complete; then
99+
"${openshift_install}" --dir="${OCP_DIR}" --log-level=debug agent wait-for install-complete 2>&1 | grep --line-buffered -v 'password'
100+
if [ ${PIPESTATUS[0]} != 0 ]; then
100101
exit 1
101102
fi
102103
echo "Cluster is ready!"

0 commit comments

Comments
 (0)