Inject rather than read-out the virt power key.
Currently we make a throwaway key when using the virtual power manager. This doesn't work all that well - users authorised_key files get huge - and it doesn't work at all for Tripleo-CI. Change-Id: I93191f8716a9e77da789a12c531ffa00bcd6cd5b
This commit is contained in:
parent
e77bb14ba7
commit
e401ef4f38
@ -1,3 +1,4 @@
|
||||
iptables
|
||||
nova-compute
|
||||
os-apply-config
|
||||
os-refresh-config
|
||||
|
@ -0,0 +1 @@
|
||||
{{nova.baremetal.virtual_power.ssh_key}}
|
@ -140,7 +140,7 @@ pxe_deploy_timeout={{pxe_deploy_timeout}}
|
||||
power_manager = {{power_manager}}
|
||||
{{#virtual_power}}
|
||||
virtual_power_host_user={{user}}
|
||||
virtual_power_host_key={{key}}
|
||||
virtual_power_host_key=/mnt/state/var/lib/nova/virtual-power-key
|
||||
virtual_power_ssh_host={{ssh_host}}
|
||||
virtual_power_type={{type}}
|
||||
{{/virtual_power}}
|
||||
|
@ -36,7 +36,7 @@
|
||||
"pxe_deploy_timeout": "2400",
|
||||
"virtual_power": {
|
||||
"user": "stack",
|
||||
"key": "/opt/stack/boot-stack/virtual-power-key",
|
||||
"ssh_key": "PUTAPRIVATEKEYHERE",
|
||||
"ssh_host": "192.168.122.1",
|
||||
"type": "virsh"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user