summaryrefslogtreecommitdiffstats
path: root/legacy/scripts/cleanup_creds.sh
diff options
context:
space:
mode:
authorzhihui wu <zhihui.wu2006+zte@gmail.com>2017-03-15 01:28:02 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-03-15 01:28:02 +0000
commitdeb48720a34ff36d23d777b9a9a1b4f73c17d80d (patch)
treef704ac8a24c5e74c7982d0ad3c49cab9f355baa2 /legacy/scripts/cleanup_creds.sh
parentfef1092cdb5a28d8d39eff94dbbd0dd187a16971 (diff)
parent63c002a51ff072c911d3b89296b627b16983f5a0 (diff)
Merge "Remove legacy code from stable branch" into stable/danube
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