summaryrefslogtreecommitdiffstats
path: root/compass/deploy/host_baremetal.sh
diff options
context:
space:
mode:
authorcarey.xu <carey.xuhan@huawei.com>2015-07-06 16:45:40 +0800
committercarey.xu <carey.xuhan@huawei.com>2015-07-08 10:18:44 +0800
commit99c363dbd827c430cf2bed2cd27c66be4642bae2 (patch)
treef6af62c3301d58d8c7d49f2a34ef73c3112309e3 /compass/deploy/host_baremetal.sh
parented3731988cdc90066aa4c8e6147f1acbc6622df8 (diff)
speed up the installation of compass
BGS-83 Change-Id: I0dada0a6c4fc6b9dda9fe586b0371ba543045057 Signed-off-by: carey.xu <carey.xuhan@huawei.com>
Diffstat (limited to 'compass/deploy/host_baremetal.sh')
-rw-r--r--compass/deploy/host_baremetal.sh9
1 files changed, 9 insertions, 0 deletions
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
+}