diff options
Diffstat (limited to 'deploy/host_baremetal.sh')
-rwxr-xr-x[-rw-r--r--] | deploy/host_baremetal.sh | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/deploy/host_baremetal.sh b/deploy/host_baremetal.sh index 9e25c98d..2281ffbf 100644..100755 --- a/deploy/host_baremetal.sh +++ b/deploy/host_baremetal.sh @@ -1,3 +1,4 @@ +#!/bin/bash function reboot_hosts() { if [ -z $POWER_MANAGE ]; then return @@ -6,10 +7,6 @@ function reboot_hosts() { } function get_host_macs() { - local config_file=$WORK_DIR/installer/compass-install/install/group_vars/all - echo "test: true" >> $config_file - machine=`echo $HOST_MACS | sed -e 's/,/'\',\''/g' -e 's/^/'\''/g' -e 's/$/'\''/g'` - echo "pxe_boot_macs: [$machine]" >> $config_file - - echo $machine + machines=`echo $HOST_MACS | sed -e 's/,/'\',\''/g' -e 's/^/'\''/g' -e 's/$/'\''/g'` + echo $machines } |