diff options
Diffstat (limited to 'ci/deploy.sh')
-rwxr-xr-x | ci/deploy.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ci/deploy.sh b/ci/deploy.sh index 33e367df..31b5d2f5 100755 --- a/ci/deploy.sh +++ b/ci/deploy.sh @@ -194,7 +194,7 @@ for Auto-detection${reset}" done echo -e "${blue}INFO: Detecting Network Specific settings for: ${enabled_network}${reset}" # detect network specific settings - if [ -n $(eval echo \${${network}_optional_settings}) ]; then + if [ -n $(eval echo \${${enabled_network}_optional_settings}) ]; then eval "network_specific_settings=\${${enabled_network}_optional_settings}" for setting in ${network_specific_settings}; do eval "setting_value=\${${enabled_network}_${setting}}" @@ -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})\" ], |