diff options
author | Harry Huang <huangxiangyu5@huawei.com> | 2018-12-04 11:41:34 +0800 |
---|---|---|
committer | Harry Huang <huangxiangyu5@huawei.com> | 2019-02-01 17:24:50 +0800 |
commit | e29a4ea1b77bdb9e78e2fabac8a3029c4c2b61fc (patch) | |
tree | 9279936c6157e4877a6f9630ef6918ef248beaef /deploy/compass_vm.sh | |
parent | 5999d29ded67ee2847e58fa559dd9da29e1bd150 (diff) |
Adapt compass4nfv scripts to new compass-deck
JIRA: COMPASS-612
1. pass machine info through file
2. generate mac address in config_parse.py
Change-Id: Iaaf0f2b1f4ab97e8200c8c046746168d991570e3
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
Diffstat (limited to 'deploy/compass_vm.sh')
-rwxr-xr-x | deploy/compass_vm.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/deploy/compass_vm.sh b/deploy/compass_vm.sh index f7bc378e..b203889b 100755 --- a/deploy/compass_vm.sh +++ b/deploy/compass_vm.sh @@ -47,9 +47,7 @@ function install_compass_core() { } function set_compass_machine() { - local config_file=$WORK_DIR/installer/docker-compose/group_vars/all - sed -i '/pxe_boot_macs/d' $config_file - echo "pxe_boot_macs: [${machines}]" >> $config_file + cp $WORK_DIR/script/machine $WORK_DIR/docker/ ansible-playbook $WORK_DIR/installer/docker-compose/add_machine.yml } |