diff options
author | Markos Chandras <mchandras@suse.de> | 2016-11-21 15:09:45 +0000 |
---|---|---|
committer | Markos Chandras <mchandras@suse.de> | 2016-11-21 15:09:45 +0000 |
commit | f2e09a1c47a8333efb7309089017f677db197f6e (patch) | |
tree | a58d59fcc93f070556514070fcce806c8178f7fe /prototypes/bifrost | |
parent | 93fa3c572de6d7d249343b50ccd7bfb4ce8d43da (diff) |
bifrost: test-bifrost-deployment: Allow overriding VM hardware options
Make VM disk, cpu and memory settings configurable to allow less
powerful hosts to host the bifrost VMs.
Change-Id: If819451536dd518690f3808c55de940169b90346
Signed-off-by: Markos Chandras <mchandras@suse.de>
Diffstat (limited to 'prototypes/bifrost')
-rwxr-xr-x | prototypes/bifrost/scripts/test-bifrost-deployment.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/prototypes/bifrost/scripts/test-bifrost-deployment.sh b/prototypes/bifrost/scripts/test-bifrost-deployment.sh index 030faedcf..32a066388 100755 --- a/prototypes/bifrost/scripts/test-bifrost-deployment.sh +++ b/prototypes/bifrost/scripts/test-bifrost-deployment.sh @@ -34,13 +34,13 @@ PROVISION_WAIT_TIMEOUT=${PROVISION_WAIT_TIMEOUT:-2400} TEST_VM_NUM_NODES=3 export TEST_VM_NODE_NAMES="jumphost.opnfvlocal controller00.opnfvlocal compute00.opnfvlocal" export VM_DOMAIN_TYPE="kvm" -export VM_CPU=4 -export VM_DISK=100 +export VM_CPU=${VM_CPU:-4} +export VM_DISK=${VM_DISK:-100} TEST_PLAYBOOK="test-bifrost-infracloud.yaml" USE_INSPECTOR=true USE_CIRROS=false TESTING_USER=root -VM_MEMORY_SIZE="8192" +VM_MEMORY_SIZE=${VM_MEMORY_SIZE:-8192} DOWNLOAD_IPA=true CREATE_IPA_IMAGE=false INSPECT_NODES=true |