summaryrefslogtreecommitdiffstats
path: root/config.sh
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2020-06-17 07:46:37 +0200
committerSuren A. Chilingaryan <csa@suren.me>2020-06-17 07:46:37 +0200
commit2e224ac4b3f3639f3f0a079f4a1a7bb49e2899e2 (patch)
treeccc8e929b1635a728bd236f8f848c3a7500b13bf /config.sh
parentbe8adaf1bd6d075d2fb752fee25d7448fe8e87fd (diff)
downloadipmiboot-master.tar.gz
ipmiboot-master.tar.bz2
ipmiboot-master.tar.xz
ipmiboot-master.zip
Add production serversHEADmaster
Diffstat (limited to 'config.sh')
-rw-r--r--config.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.sh b/config.sh
index ccf0d0b..423b5f8 100644
--- a/config.sh
+++ b/config.sh
@@ -24,6 +24,9 @@ elif [[ $0 =~ "ipmi-camera.sh" ]]; then
elif [[ $0 =~ "ipmi-student.sh" ]]; then
[ -n "$servers" ] || servers=$(seq 1 7)
hip=$(for i in $servers ; do echo "192.168.26.6$i" ; done)
+elif [[ $0 =~ "ipmi-servers.sh" ]]; then
+ [ -n "$servers" ] || servers=$(seq 0 0)
+ hip=$(for i in $servers ; do echo "192.168.26.17$i" ; done)
elif [ -n "$servers" ]; then
iip=$(for i in $servers ; do echo "192.168.26.$i" ; done)
hip=$(for i in $servers ; do echo "192.168.26.$i" ; done)