diff options
author | Fatih Degirmenci <fdegir@gmail.com> | 2017-12-18 14:31:35 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-12-18 14:31:35 +0000 |
commit | cf2cd4e4b87a5e392bc4ba49749a349925ba2f86 (patch) | |
tree | ceb6a209a3bef7f3b56d2e4b2c47459afcfe96e9 /xci/scripts/vm/start-new-vm.sh | |
parent | 8b9a73d7fbc9bf6112b7efbbb2ad7f3216837ba4 (diff) | |
parent | b8872af53f9a8441214096a5f1c63b0abd47ed63 (diff) |
Merge "Increase ram of XCI VM and change disk cache type for all VMs"
Diffstat (limited to 'xci/scripts/vm/start-new-vm.sh')
-rwxr-xr-x | xci/scripts/vm/start-new-vm.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xci/scripts/vm/start-new-vm.sh b/xci/scripts/vm/start-new-vm.sh index d451daae..0af2a359 100755 --- a/xci/scripts/vm/start-new-vm.sh +++ b/xci/scripts/vm/start-new-vm.sh @@ -85,7 +85,7 @@ update_clean_vm_files() { declare -r CPU=${XCI_CPU_TYPE:-host-passthrough} declare -r NCPUS=${XCI_NCPUS:-24} -declare -r MEMORY=${XCI_MEMORY_SIZE:-49152} +declare -r MEMORY=${XCI_MEMORY_SIZE:-65536} declare -r DISK=${XCI_DISK_SIZE:-500} declare -r VM_NAME=${1}_xci_vm declare -r OS=${1} @@ -208,7 +208,7 @@ sudo virsh net-list --inactive | grep -q ${NETWORK} && sudo virsh net-start ${NE echo "Installing virtual machine '${VM_NAME}'..." sudo virt-install -n ${VM_NAME} --memory ${MEMORY} --vcpus ${NCPUS} --cpu ${CPU} \ - --import --disk=${OS_IMAGE_FILE},cache=unsafe,bus=virtio --network network=${NETWORK},model=virtio \ + --import --disk=${OS_IMAGE_FILE},cache=none,bus=virtio --network network=${NETWORK},model=virtio \ --graphics none --hvm --noautoconsole trap destroy_vm_on_failures EXIT |