From 2e224ac4b3f3639f3f0a079f4a1a7bb49e2899e2 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Wed, 17 Jun 2020 07:46:37 +0200 Subject: Add production servers --- config.sh | 3 +++ ipmi-servers.sh | 1 + 2 files changed, 4 insertions(+) create mode 120000 ipmi-servers.sh 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 -- cgit v1.2.3