summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-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()