aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/scripts/cleanup_creds.sh
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2017-03-14 17:26:28 +0800
committerYujun Zhang <zhang.yujunz@zte.com.cn>2017-03-14 17:26:28 +0800
commit63c002a51ff072c911d3b89296b627b16983f5a0 (patch)
tree2ceeb00e4d566589fcd03436cea6ad1dee30798f /legacy/scripts/cleanup_creds.sh
parent89743ab8134e54fe606310e3bf5c65ebab93c62a (diff)
Remove legacy code from stable branch
Change-Id: I283f84dfcb3cd029739caaefb33ed5431114fae9 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Diffstat (limited to 'legacy/scripts/cleanup_creds.sh')
-rwxr-xr-xlegacy/scripts/cleanup_creds.sh11
1 files changed, 0 insertions, 11 deletions
diff --git a/legacy/scripts/cleanup_creds.sh b/legacy/scripts/cleanup_creds.sh
deleted file mode 100755
index b4eee924..00000000
--- a/legacy/scripts/cleanup_creds.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-#! /bin/bash
-
-DEST_IP=$1
-HOSTNAME=$(hostname)
-sshoptions="-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null"
-
-case "$INSTALLER_TYPE" in
- fuel)
- ssh $sshoptions -i ./config/QtipKey root@$DEST_IP "sed -i '/root@$HOSTNAME/d' /root/.ssh/authorized_keys"
- ;;
-esac