From 99c363dbd827c430cf2bed2cd27c66be4642bae2 Mon Sep 17 00:00:00 2001 From: "carey.xu" Date: Mon, 6 Jul 2015 16:45:40 +0800 Subject: speed up the installation of compass BGS-83 Change-Id: I0dada0a6c4fc6b9dda9fe586b0371ba543045057 Signed-off-by: carey.xu --- compass/deploy/host_baremetal.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 compass/deploy/host_baremetal.sh (limited to 'compass/deploy/host_baremetal.sh') 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 +} -- cgit 1.2.3-korg