Skip to content
Snippets Groups Projects

Do not hardcode IPs so we do not miss new ones when recreating them

Merged Daniel Juarez Gonzalez requested to merge djuarezg-master-patch-10447 into master
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
+ 2
2
@@ -15,11 +15,11 @@ if [ ! -f /bin/syslinux ]; then
echo "syslinux missing, please 'yum -y install syslinux'"
exit 1
fi
nextserver="188.184.21.168"
nextserver=$(getent hosts aims.cern.ch | awk '{ print $1 }')
release="aimsprod"
if [ $# -eq 1 ]; then
if [ $1 == "test" ]; then
nextserver="188.184.82.64"
nextserver=$(getent hosts aimstest.cern.ch | awk '{ print $1 }')
release="aimstest"
else
usage
Loading