diff options
author | 2017-07-26 12:01:33 +0100 | |
---|---|---|
committer | 2017-08-17 11:03:39 +0100 | |
commit | 6ccf0cee70808e7aa8ff9a7226d97d4fe1c1259f (patch) | |
tree | 6ede0792e44c89b0f5395dcc47fbaf104ae0b501 /xci/config/noha-vars | |
parent | c7ceaa77fba0d3dbe0ca802d0b4c159f38b6cbf9 (diff) |
prototypes: xci: config: Allow users to set VM specs
The default VM spec may not be good enough for every host
so allow users to override the default VM_* variables.
Change-Id: Ie846620ab81b7fedcbe4b23da735379ab75d3cc2
Signed-off-by: Markos Chandras <mchandras@suse.de>
Diffstat (limited to 'xci/config/noha-vars')
-rwxr-xr-x | xci/config/noha-vars | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xci/config/noha-vars b/xci/config/noha-vars index 935becb2..6d85111c 100755 --- a/xci/config/noha-vars +++ b/xci/config/noha-vars @@ -11,8 +11,8 @@ #------------------------------------------------------------------------------- export TEST_VM_NUM_NODES=4 export TEST_VM_NODE_NAMES="opnfv controller00 compute00 compute01" -export VM_DOMAIN_TYPE=kvm -export VM_CPU=8 -export VM_DISK=80 -export VM_MEMORY_SIZE=12288 +export VM_DOMAIN_TYPE=${VM_DOMAIN_TYPE:-kvm} +export VM_CPU=${VM_CPU:-8} +export VM_DISK=${VM_DISK:-80} +export VM_MEMORY_SIZE=${VM_MEMORY_SIZE:-12288} export VM_DISK_CACHE=unsafe |