diff options
author | Michael Chapman <woppin@gmail.com> | 2016-02-12 14:48:41 +1100 |
---|---|---|
committer | Michael Chapman <woppin@gmail.com> | 2016-02-13 03:03:36 +1100 |
commit | 652104ebd6c0d0baba22ffc6486512ade19c043d (patch) | |
tree | a265a9ca6b2d50d407533980b39b82f5cd712730 | |
parent | 27f4ec0535389014505de87039215ac2f9ac7277 (diff) |
Support power management type changes
JIRA: APEX-95
pm_type is already in the sample instackenv.json but wasn't previously
being read.
Change-Id: Ia82c5010481d77d142d4fa3ca6e738558e8e9e4e
-rwxr-xr-x | ci/deploy.sh | 2 | ||||
-rw-r--r-- | config/inventory/intel_pod2_settings.yaml | 5 | ||||
-rw-r--r-- | config/inventory/pod_example_settings.yaml | 5 |
3 files changed, 11 insertions, 1 deletions
diff --git a/ci/deploy.sh b/ci/deploy.sh index 39f76c03..3663ff0a 100755 --- a/ci/deploy.sh +++ b/ci/deploy.sh @@ -316,7 +316,7 @@ parse_inventory_file() { node_output=" { \"pm_password\": \"$(eval echo \${${node}ipmi_pass})\", - \"pm_type\": \"pxe_ipmitool\", + \"pm_type\": \"$(eval echo \${${node}pm_type})\", \"mac\": [ \"$(eval echo \${${node}mac_address})\" ], diff --git a/config/inventory/intel_pod2_settings.yaml b/config/inventory/intel_pod2_settings.yaml index 6058209d..15520410 100644 --- a/config/inventory/intel_pod2_settings.yaml +++ b/config/inventory/intel_pod2_settings.yaml @@ -4,6 +4,7 @@ nodes: ipmi_ip: 10.4.7.2 ipmi_user: root ipmi_pass: root + pm_type: "pxe_ipmitool" cpus: 2 memory: 8192 disk: 40 @@ -14,6 +15,7 @@ nodes: ipmi_ip: 10.4.7.3 ipmi_user: root ipmi_pass: root + pm_type: "pxe_ipmitool" cpus: 2 memory: 8192 disk: 40 @@ -24,6 +26,7 @@ nodes: ipmi_ip: 10.4.7.4 ipmi_user: root ipmi_pass: root + pm_type: "pxe_ipmitool" cpus: 2 memory: 8192 disk: 40 @@ -34,6 +37,7 @@ nodes: ipmi_ip: 10.4.7.5 ipmi_user: root ipmi_pass: root + pm_type: "pxe_ipmitool" cpus: 2 memory: 8192 disk: 40 @@ -44,6 +48,7 @@ nodes: ipmi_ip: 10.4.7.6 ipmi_user: root ipmi_pass: root + pm_type: "pxe_ipmitool" cpus: 2 memory: 8192 disk: 40 diff --git a/config/inventory/pod_example_settings.yaml b/config/inventory/pod_example_settings.yaml index 55d8fb61..3e34abe9 100644 --- a/config/inventory/pod_example_settings.yaml +++ b/config/inventory/pod_example_settings.yaml @@ -4,6 +4,7 @@ nodes: ipmi_ip: 10.4.17.2 ipmi_user: root ipmi_pass: root + pm_type: "pxe_ipmitool" cpus: 2 memory: 8192 disk: 40 @@ -14,6 +15,7 @@ nodes: ipmi_ip: 10.4.17.3 ipmi_user: root ipmi_pass: root + pm_type: "pxe_ipmitool" cpus: 2 memory: 8192 disk: 40 @@ -24,6 +26,7 @@ nodes: ipmi_ip: 10.4.17.4 ipmi_user: root ipmi_pass: root + pm_type: "pxe_ipmitool" cpus: 2 memory: 8192 disk: 40 @@ -34,6 +37,7 @@ nodes: ipmi_ip: 10.4.17.5 ipmi_user: root ipmi_pass: root + pm_type: "pxe_ipmitool" cpus: 2 memory: 8192 disk: 40 @@ -44,6 +48,7 @@ nodes: ipmi_ip: 10.4.17.6 ipmi_user: root ipmi_pass: root + pm_type: "pxe_ipmitool" cpus: 2 memory: 8192 disk: 40 |