summaryrefslogtreecommitdiffstats
path: root/utils/rubbos_dev_env_setup/deploy.sh
diff options
context:
space:
mode:
authorJun Li <matthew.lijun@huawei.com>2016-01-04 04:41:13 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-01-04 04:41:14 +0000
commit09f9a968d1078dc64bd971dd4dcd005c2a05c0e4 (patch)
tree459d41a699ff174dd785770d496eaf6192353fe1 /utils/rubbos_dev_env_setup/deploy.sh
parent7f3a6fc12fd9f4195c13f6611e83a1f8ff7cbed1 (diff)
parentb57d2ac822c2d706524c513f6e2baff19301fa05 (diff)
Merge "Update vm prepare setup"
Diffstat (limited to 'utils/rubbos_dev_env_setup/deploy.sh')
-rwxr-xr-xutils/rubbos_dev_env_setup/deploy.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/rubbos_dev_env_setup/deploy.sh b/utils/rubbos_dev_env_setup/deploy.sh
index 0b53d48b..e6d06b35 100755
--- a/utils/rubbos_dev_env_setup/deploy.sh
+++ b/utils/rubbos_dev_env_setup/deploy.sh
@@ -55,7 +55,7 @@ function launch_host_vms() {
i=0
for host in $HOSTNAMES; do
echo "creating vm disk for instance $host" \
- "ip ${IPADDR_PREFIX}${i}" \
+ "ip ${IPADDR_PREFIX}$((i+11))" \
"mac ${mac_array[$i]}"
vm_dir=$host_vm_dir/$host
mkdir -p $vm_dir