diff options
author | carey.xu <carey.xuhan@huawei.com> | 2015-10-13 22:37:21 +0800 |
---|---|---|
committer | carey.xu <carey.xuhan@huawei.com> | 2015-10-14 00:14:01 +0800 |
commit | 6303b57e8d7f3530d9dfd0896708a712fdc8f919 (patch) | |
tree | 97076ad34f2ea10aae5e088018099831f2e410c4 /deploy/host_virtual.sh | |
parent | 6cea13a2abbc7292c74de0bdf667d285e746845e (diff) |
support connecting compass core and virtual machine by external ip
JIRA: COMPASS-86
Change-Id: I53ac86242088d5d6f22f6d692a7e60ce97e07f6e
Signed-off-by: carey.xu <carey.xuhan@huawei.com>
Diffstat (limited to 'deploy/host_virtual.sh')
-rw-r--r-- | deploy/host_virtual.sh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/deploy/host_virtual.sh b/deploy/host_virtual.sh index 35ab4352..d769010b 100644 --- a/deploy/host_virtual.sh +++ b/deploy/host_virtual.sh @@ -30,10 +30,8 @@ function launch_host_vms() { -e "s/REPLACE_NAME/$host/g" \ -e "s#REPLACE_IMAGE#$vm_dir/disk.img#g" \ -e "s/REPLACE_BOOT_MAC/${mac_array[i]}/g" \ - -e "s/REPLACE_BRIDGE_MGMT/br_install/g" \ - -e "s/REPLACE_BRIDGE_TENANT/br_external/g" \ - -e "s/REPLACE_BRIDGE_PUBLIC/br_install/g" \ - -e "s/REPLACE_BRIDGE_STORAGE/br_install/g" \ + -e "s/REPLACE_NET_INSTALL/install/g" \ + -e "s/REPLACE_NET_TENANT/external/g" \ $COMPASS_DIR/deploy/template/vm/host.xml\ > $vm_dir/libvirt.xml |