summaryrefslogtreecommitdiffstats
path: root/qtip/scripts/cleanup_creds.sh
diff options
context:
space:
mode:
authorzhihui wu <wu.zhihui1@zte.com.cn>2017-05-17 02:07:18 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-05-17 02:07:18 +0000
commit73b0a82bdff1c53846c8cd99475ba3a58b0fdca4 (patch)
treefac9d4eddc864df70337b521f2adc1eef04198c7 /qtip/scripts/cleanup_creds.sh
parent30bedcbde528b832357a296091816cf5e52031cd (diff)
parent740cbf36beff04167473cc293a72b0442b74e701 (diff)
Merge "delete unuse code in directory /qtip"
Diffstat (limited to 'qtip/scripts/cleanup_creds.sh')
-rwxr-xr-xqtip/scripts/cleanup_creds.sh20
1 files changed, 0 insertions, 20 deletions
diff --git a/qtip/scripts/cleanup_creds.sh b/qtip/scripts/cleanup_creds.sh
deleted file mode 100755
index ad66ba95..00000000
--- a/qtip/scripts/cleanup_creds.sh
+++ /dev/null
@@ -1,20 +0,0 @@
-#! /bin/bash
-##############################################################################
-# Copyright (c) 2017 ZTE corp. and others.
-#
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Apache License, Version 2.0
-# which accompanies this distribution, and is available at
-# http://www.apache.org/licenses/LICENSE-2.0
-##############################################################################
-
-DEST_IP=$1
-PRIVATE_KEY=$2
-PUBLIC_KEY=$3
-sshoptions="-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null"
-
-case "$INSTALLER_TYPE" in
- fuel)
- ssh $sshoptions -i $PRIVATE_KEY root@$DEST_IP "sed -i '/$PUBLIC_KEY/d' /root/.ssh/authorized_keys"
- ;;
-esac