Add newline to Nova migration secret
Previously, the Nova migration secret was stored without an EOL on its last line, causing key validation errors in SSH. Change-Id: I7f077351d985ef3c20f53494715834e226e55f13 Closes-Bug: #1904394
This commit is contained in:
parent
2086672ae4
commit
e3c80e1bc6
|
@ -277,7 +277,7 @@ def create_ssh_keys(config, messages):
|
|||
|
||||
config['NOVA_MIGRATION_KEY_TYPE'] = 'ssh-rsa'
|
||||
config['NOVA_MIGRATION_KEY_PUBLIC'] = public.split()[1]
|
||||
config['NOVA_MIGRATION_KEY_SECRET'] = secret
|
||||
config['NOVA_MIGRATION_KEY_SECRET'] = secret + '\n'
|
||||
|
||||
|
||||
def gather_host_keys(config, messages):
|
||||
|
|
Loading…
Reference in New Issue