summaryrefslogtreecommitdiffstats
path: root/utils/infra_setup
diff options
context:
space:
mode:
authorQiLiang <liangqi1@huawei.com>2016-01-16 15:29:07 +0000
committerqi liang <liangqi1@huawei.com>2016-01-16 16:01:43 +0000
commitebe432835797b927514baebc5e4627cf582096cc (patch)
treeada27fe8414869ba4f4133faf1360d2a0b21458d /utils/infra_setup
parentcaa7ed3cf693e4ab499e9562116e73a212ac665f (diff)
Scripts update to run rubbos on compass4nfv env 4
JIRA: - Change-Id: Ic6daf53412bdd992f0430ba6feba35a689f44700 Signed-off-by: QiLiang <liangqi1@huawei.com>
Diffstat (limited to 'utils/infra_setup')
-rwxr-xr-xutils/infra_setup/heat_template/HOT_create_instance.sh2
-rwxr-xr-xutils/infra_setup/vm_dev_setup/setup_env.sh4
2 files changed, 3 insertions, 3 deletions
diff --git a/utils/infra_setup/heat_template/HOT_create_instance.sh b/utils/infra_setup/heat_template/HOT_create_instance.sh
index 4d89e96d..0e250fec 100755
--- a/utils/infra_setup/heat_template/HOT_create_instance.sh
+++ b/utils/infra_setup/heat_template/HOT_create_instance.sh
@@ -140,7 +140,7 @@ bottlenecks_create_instance()
nova keypair-add --pub_key $KEY_PATH/bottlenecks_key.pub $KEY_NAME
echo "create flavor"
- nova flavor-create $FLAVOR_NAME 200 4096 20 1
+ nova flavor-create $FLAVOR_NAME 200 4096 20 2
echo "use heat template to create stack"
cd $HOT_PATH
diff --git a/utils/infra_setup/vm_dev_setup/setup_env.sh b/utils/infra_setup/vm_dev_setup/setup_env.sh
index bfc8f724..25314b45 100755
--- a/utils/infra_setup/vm_dev_setup/setup_env.sh
+++ b/utils/infra_setup/vm_dev_setup/setup_env.sh
@@ -71,10 +71,10 @@ bottlenecks_download_repo()
if [ ! -d $BOTTLENECKS_REPO_DIR ]; then
sudo git clone $BOTTLENECKS_REPO $BOTTLENECKS_REPO_DIR
fi
- sudo cd $BOTTLENECKS_REPO_DIR
+ cd $BOTTLENECKS_REPO_DIR
sudo git checkout master && sudo git pull
git_checkout $BOTTLENECKS_BRANCH $BOTTLENECKS_REPO
- sudo cd -
+ cd -
}
bottlenecks_config_hosts_ip()