aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/host_virtual.sh
diff options
context:
space:
mode:
authorJustin chi <chigang@huawei.com>2015-10-15 01:44:26 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2015-10-15 01:44:26 +0000
commit4fde268319667485c8322661397ec8b5a2e3a05f (patch)
tree4180e58c03be2a1a02e0f26aa0266428bfa22dfc /deploy/host_virtual.sh
parent39794dc126a14a9b36f9ec1dc5ce760c717bf0b8 (diff)
parent6303b57e8d7f3530d9dfd0896708a712fdc8f919 (diff)
Merge "support connecting compass core and virtual machine by external ip"
Diffstat (limited to 'deploy/host_virtual.sh')
-rw-r--r--deploy/host_virtual.sh6
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