mistaken delete usefuel public key 43/31143/1
authorwu.zhihui <wu.zhihui1@zte.com.cn>
Mon, 20 Mar 2017 02:52:49 +0000 (10:52 +0800)
committerzhihui wu <zhihui.wu2006+zte@gmail.com>
Tue, 21 Mar 2017 08:16:25 +0000 (08:16 +0000)
commit695a881515c40e29fc12eb5003e0f3682bc4d64b
tree8fa86da6a6ebf25a045f00c14a45c65cf8fd397e
parent51b1b84b191a0ce3dd4e2431c73583ef5e1a8fd9
mistaken delete usefuel public key

Previously, cleanup_creds.sh will delete public keys which of
comment info is "root@$hostname". It could delete useful keys
by accident. In this patch, cleanup_creds.sh will only delete
the key which matches the key's content.

JIRA: QTIP-228

Change-Id: I1095de656570b816b7e170688acd01c27b98e74c
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
(cherry picked from commit eaa225cf0c9b8b7bc63b35acdeef75dbacb8b905)
qtip/scripts/cleanup_creds.sh
qtip/util/env.py