X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=compass%2Fdeploy%2Fhost_baremetal.sh;fp=compass%2Fdeploy%2Fhost_baremetal.sh;h=26238e04e1bb62dafbda11ecc1af7f095c13fc82;hb=99c363dbd827c430cf2bed2cd27c66be4642bae2;hp=0000000000000000000000000000000000000000;hpb=ed3731988cdc90066aa4c8e6147f1acbc6622df8;p=genesis.git diff --git a/compass/deploy/host_baremetal.sh b/compass/deploy/host_baremetal.sh new file mode 100644 index 0000000..26238e0 --- /dev/null +++ b/compass/deploy/host_baremetal.sh @@ -0,0 +1,9 @@ +function get_host_macs() { + local config_file=$WORK_DIR/installer/compass-install/install/group_vars/all + local machines=`echo $HOST_MACS|sed 's/ /,/g'` + + echo "test: true" >> $config_file + echo "pxe_boot_macs: [${machines}]" >> $config_file + + echo $machines +}