aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/scripts/cleanup_creds.sh
diff options
context:
space:
mode:
authorzhihui wu <wu.zhihui1@zte.com.cn>2017-05-16 14:11:02 +0800
committerzhihui wu <wu.zhihui1@zte.com.cn>2017-05-16 14:11:02 +0800
commit6cf01ef2b8cff0412640b6cc87112852afee9c87 (patch)
treebdf60cf4af20470ba07000e55fbb36d2c3a5270c /legacy/scripts/cleanup_creds.sh
parent1089daee7bbf76a1686b6e1f4fee8dc79b5b7968 (diff)
delete unuse code in directory legacy
Change-Id: I31427e8a59ea241e882f41222f211fffe709043f Signed-off-by: zhihui wu <wu.zhihui1@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