summaryrefslogtreecommitdiffstats
path: root/utils/rubbos_dev_env_setup
diff options
context:
space:
mode:
authorQiLiang <liangqi1@huawei.com>2016-01-04 03:59:06 +0000
committerQiLiang <liangqi1@huawei.com>2016-01-04 04:03:28 +0000
commitb57d2ac822c2d706524c513f6e2baff19301fa05 (patch)
tree59bd44587371b66ce6609b12492c2860b130294c /utils/rubbos_dev_env_setup
parent9e0fdbac6e08d0f0e7b17f929725c2e2636599d6 (diff)
Update vm prepare setup
add nameserver, ssh-key configure and package install JIRA: BOTTLENECK-33 Change-Id: I66dca9d2367f85bc353ce159689028be97a3b78d Signed-off-by: QiLiang <liangqi1@huawei.com>
Diffstat (limited to 'utils/rubbos_dev_env_setup')
-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