diff options
author | QiLiang <liangqi1@huawei.com> | 2016-01-16 15:29:07 +0000 |
---|---|---|
committer | QiLiang <liangqi1@huawei.com> | 2016-01-16 15:45:20 +0000 |
commit | 4ec98668c20b7337dbba40aad52dc3b6c6c9cd68 (patch) | |
tree | ada27fe8414869ba4f4133faf1360d2a0b21458d | |
parent | 077a600603f855ed50bba52ad11db0bc51a11594 (diff) |
Scripts update to run rubbos on compass4nfv env 4
JIRA: -
Change-Id: Ic6daf53412bdd992f0430ba6feba35a689f44700
Signed-off-by: QiLiang <liangqi1@huawei.com>
-rwxr-xr-x | utils/infra_setup/heat_template/HOT_create_instance.sh | 2 | ||||
-rwxr-xr-x | utils/infra_setup/vm_dev_setup/setup_env.sh | 4 |
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() |