From 99f34ed29c742850e1aa4237a3d0d2ce3120c614 Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Mon, 21 Nov 2016 15:09:45 +0000 Subject: 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 --- bifrost/scripts/test-bifrost-deployment.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bifrost/scripts/test-bifrost-deployment.sh b/bifrost/scripts/test-bifrost-deployment.sh index 030faedc..32a06638 100755 --- a/bifrost/scripts/test-bifrost-deployment.sh +++ b/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 -- cgit 1.2.3-korg