aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarry Huang <huangxiangyu5@huawei.com>2018-04-18 17:25:57 +0800
committerHarry Huang <huangxiangyu5@huawei.com>2018-04-18 17:25:57 +0800
commita85a3366e4ca2094facf69b696e0c03e97ab45dc (patch)
tree3141f318406f9032aa28318594b883e33a3322f1
parent40e5d1ef5e5c389609ab145441375cd0a17af07a (diff)
Fix key issueHEADmaster
JIRA: - Misplace public key and private key Change-Id: Iae694cfdab00500af863c934f5924693d5bab5d1 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
-rw-r--r--setup/onap_on_openstack/onap_os_builder.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/setup/onap_on_openstack/onap_os_builder.py b/setup/onap_on_openstack/onap_os_builder.py
index b6c5608..b85d301 100644
--- a/setup/onap_on_openstack/onap_os_builder.py
+++ b/setup/onap_on_openstack/onap_os_builder.py
@@ -121,9 +121,9 @@ class ONAP_os_builder(object):
dcae_prikey_data = util.read_file(prikey_path).strip('\n')
dcae_pubkey_data = util.read_file(pubkey_path).strip('\n')
user_config.update({'dcae_public_key':
- literal_unicode(dcae_prikey_data)})
- user_config.update({'dcae_private_key':
literal_unicode(dcae_pubkey_data)})
+ user_config.update({'dcae_private_key':
+ literal_unicode(dcae_prikey_data)})
public_net_id = os_lib.get_network_id(
self.neutron_client,