]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
storage_deploy.sh: remove IPMI login
authorThilo Fromm <thilo.fromm@profitbricks.com>
Thu, 25 Apr 2013 13:45:36 +0000 (15:45 +0200)
committerThilo Fromm <thilo.fromm@profitbricks.com>
Thu, 25 Apr 2013 13:45:36 +0000 (15:45 +0200)
Signed-off-by: Thilo Fromm <thilo.fromm@profitbricks.com>
storage_deploy.sh

index 6007f37bab79f508c8cedf012cec65d125fda6d9..47b2f0055206c113a54d1ade3572530677923bf4 100755 (executable)
@@ -28,7 +28,7 @@ rexec() {
 ipmi() {
     local host="$1" # hihi
     shift
-    ipmitool -H "$host" -U ADMIN -P ADMIN $@
+    ipmitool -H "$host" -U ADMIN -f /etc/jenkins/"$host".ipmi $@
 }
 
 while_with_timeout() {
@@ -98,7 +98,7 @@ wait_for_reboot() {
 # 
 # M A I N
 #
-set -x
+
 main() {
 
     [ $# -ne 2 ] && {