Skip to content

Commit

Permalink
get-repo-hosts.sh: check repo-rsync-itb; widen columns
Browse files Browse the repository at this point in the history
  • Loading branch information
matyasselmeci committed Jul 22, 2024
1 parent 1e52366 commit e737b02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions check-scripts/get-repo-hosts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

command -v nslookup &>/dev/null || { echo >&2 "nslookup not found"; exit 127; }

for host in {repo,repo-rsync,repo-itb}.{opensciencegrid.org,osg-htc.org}; do
for host in {repo,repo-rsync,repo-itb,repo-rsync-itb}.{opensciencegrid.org,osg-htc.org}; do
realname=$(nslookup ${host} | awk '/^Name:/ { print $2; exit }')
realname=${realname:-NOTFOUND}
printf "%31s %31s\n" "$host" "$realname"
printf "%39s %39s\n" "$host" "$realname"
done

0 comments on commit e737b02

Please sign in to comment.