diff options
author | Aric Gardner <agardner@linuxfoundation.org> | 2017-10-16 20:04:04 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-10-16 20:04:04 +0000 |
commit | 6b6387c79b5453a135b05ae08bcd618da59aea76 (patch) | |
tree | 80d2d7d20d3dc21d8bf50dbaf5a014b8a9a538b8 /xci/scripts/vm | |
parent | d9f67fa7a9d1f9c9a28c9104974a5038d61f72b7 (diff) | |
parent | 55f2a0a625ceb793700389aa4fafda284079d39c (diff) |
Merge "xci: scripts: start-new-vm.sh: Make VM specs configurable"
Diffstat (limited to 'xci/scripts/vm')
-rwxr-xr-x | xci/scripts/vm/start-new-vm.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xci/scripts/vm/start-new-vm.sh b/xci/scripts/vm/start-new-vm.sh index 75ef1cdf..7558dcb6 100755 --- a/xci/scripts/vm/start-new-vm.sh +++ b/xci/scripts/vm/start-new-vm.sh @@ -99,10 +99,10 @@ update_clean_vm_files() { [[ $# -ne 1 ]] && usage && exit 1 -declare -r CPU=host -declare -r NCPUS=24 -declare -r MEMORY=49152 -declare -r DISK=500 +declare -r CPU=${XCI_CPU_TYPE:-host} +declare -r NCPUS=${XCI_NCPUS:-24} +declare -r MEMORY=${XCI_MEMORY_SIZE:-49152} +declare -r DISK=${XCI_DISK_SIZE:-500} declare -r VM_NAME=${1}_xci_vm declare -r OS=${1} declare -r NETWORK="jenkins-test" |