Skip to content
Snippets Groups Projects
Commit 4c6f03d9 authored by Jan David Mol's avatar Jan David Mol
Browse files

Updated Cobalt /etc/hosts and /etc/resolve.conf check after removal of CEP2

parent 7a5bf160
No related branches found
No related tags found
No related merge requests found
...@@ -11,8 +11,6 @@ fgrep sasdb /etc/hosts || exit 1 ...@@ -11,8 +11,6 @@ fgrep sasdb /etc/hosts || exit 1
fgrep kis001 /etc/hosts || exit 1 fgrep kis001 /etc/hosts || exit 1
fgrep sasdb /etc/hosts || exit 1 fgrep sasdb /etc/hosts || exit 1
fgrep lcs015 /etc/hosts || exit 1
for i in `seq -w 1 8` for i in `seq -w 1 8`
do do
fgrep "cbm00$i" /etc/hosts || exit 1 fgrep "cbm00$i" /etc/hosts || exit 1
......
#!/bin/bash #!/bin/bash
# Check for the presence of the various LOFAR domains # Check for the presence of the various LOFAR domains
for DOMAIN in infiniband.lofar cep2.lofar online.lofar control.lofar for DOMAIN in infiniband.lofar online.lofar control.lofar
do do
grep "^search.*\b$DOMAIN\b" /etc/resolv.conf || exit 1 grep "^search.*\b$DOMAIN\b" /etc/resolv.conf || exit 1
done done
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment