Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion agent/tool-scripts/openshift-metrics
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ tool_stderr_file=$tool_output_dir/$tool-stderr.txt
## create directory to save the keys from openshift master, hosts
mkdir -p /run/pbench/keys
## parse openshift inventory file
cat "$inventory" | awk -F " " '{ print $1 }' | sed -n '/masters/,/^$/p' | grep "ec2" > /run/pbench/inv_hosts
cat "$inventory" | awk -F " " '{ print $1 }' | sed -n '/^\[masters\]/,/^$/p' | awk '{if (NR!=1) {print}}' > /run/pbench/inv_hosts
case "$mode" in
install)
;;
Expand Down