summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Collins <rbtcollins@hp.com>2014-02-13 11:03:56 +1300
committerClint Byrum <clint@fewbar.com>2014-02-13 12:08:55 -0800
commit8ed3b1f403da045b764a3e8865b59117a704e331 (patch)
tree9ffae324e3fec7f386230d2d3cfedc3fb183722e
parent679ed909ce3d9be1eef39e4afa5a559a40b26363 (diff)
Support TripleO-CI for overcloud builds.
For Tripleo-CI we can't generate the key in the VM and hand it out, because we have restricted access to the machine. Plus, this has been ugly forever. Pass an SSH key in, rather than pulling one out. Change-Id: I1def0757758e30e63891ff099106dac158bd8d83
-rw-r--r--undercloud-vm-source.yaml13
1 files changed, 11 insertions, 2 deletions
diff --git a/undercloud-vm-source.yaml b/undercloud-vm-source.yaml
index e70ef52d..4fc10d89 100644
--- a/undercloud-vm-source.yaml
+++ b/undercloud-vm-source.yaml
@@ -7,6 +7,13 @@ Parameters:
Default: nova.virt.baremetal.virtual_power_driver.VirtualPowerManager
Description: Bare metal power manager driver.
Type: String
+ PowerSSHHost:
+ Default: 192.168.122.1
+ Description: SSH host to ssh to for power management operations.
+ Type: String
+ PowerSSHPrivateKey:
+ Description: Private key for using to ssh to a virtual power host.
+ Type: NoEcho
PowerUserName:
Default: stack
Description: What username to ssh to the virtual power host with.
@@ -35,8 +42,10 @@ Resources:
virtual_power:
user:
Ref: PowerUserName
- key: /opt/stack/boot-stack/virtual-power-key
- ssh_host: 192.168.122.1
+ ssh_host:
+ Ref: PowerSSHHost
+ ssh_key:
+ Ref: PowerSSHPrivateKey
type: virsh
service-password:
Ref: NovaPassword