summaryrefslogtreecommitdiffstats
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
parentbe8adaf1bd6d075d2fb752fee25d7448fe8e87fd (diff)
downloadipmiboot-master.tar.gz
ipmiboot-master.tar.bz2
ipmiboot-master.tar.xz
ipmiboot-master.zip
Add production serversHEADmaster
-rw-r--r--config.sh3
l---------ipmi-servers.sh1
2 files changed, 4 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)
diff --git a/ipmi-servers.sh b/ipmi-servers.sh
new file mode 120000
index 0000000..6c161b4
--- /dev/null
+++ b/ipmi-servers.sh
@@ -0,0 +1 @@
+ipmi.sh \ No newline at end of file