mistaken delete usefuel public key 77/30977/2
authorwu.zhihui <wu.zhihui1@zte.com.cn>
Mon, 20 Mar 2017 02:52:49 +0000 (10:52 +0800)
committerwu.zhihui <wu.zhihui1@zte.com.cn>
Mon, 20 Mar 2017 09:13:24 +0000 (17:13 +0800)
commiteaa225cf0c9b8b7bc63b35acdeef75dbacb8b905
tree99a16254934b36c3914d1d665aea8a4145b7e8c7
parent6694910aae48dd42e7c777e587c32e03cacd400c
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>
qtip/scripts/cleanup_creds.sh
qtip/util/env.py