Increase PXE deployment timeout for overcloud
[apex-tripleo-heat-templates.git] / undercloud-vm-source.yaml
index a898707..4e076fd 100644 (file)
@@ -7,6 +7,18 @@ Parameters:
     Default: nova.virt.baremetal.virtual_power_driver.VirtualPowerManager
     Description: Bare metal power manager driver.
     Type: String
+  PxeDeployTimeout:
+    Default: 2400
+    Description: Timeout for PXE deployment of baremetal nodes
+    Type: Number
+  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: String
+    NoEcho: true
   PowerUserName:
     Default: stack
     Description: What username to ssh to the virtual power host with.
@@ -26,18 +38,20 @@ Resources:
           ram_allocation_ratio: 1.0
           reserved_host_memory_mb: 0
         baremetal:
-          use_file_injection: "False"
           arch:
             Ref: BaremetalArch
           db: mysql://nova:unset@localhost/nova_bm
           power_manager:
             Ref: PowerManager
-          pxe_deploy_timeout: 2400
+          pxe_deploy_timeout:
+            Ref: PxeDeployTimeout
           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