[kvm]: increase mem to 3G to avoid OOM during onie installation (#3811)

Signed-off-by: Guohan Lu <gulv@microsoft.com>
This commit is contained in:
lguohan 2019-11-23 12:30:22 -08:00 committed by GitHub
parent f558f170bb
commit 8d4516ca3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -96,7 +96,7 @@ elif [ "$IMAGE_TYPE" = "kvm" ]; then
generate_onie_installer_image
SONIC_USERNAME=$USERNAME PASSWD=$PASSWORD sudo -E ./build_kvm_image.sh $KVM_IMAGE_DISK $onie_recovery_image $OUTPUT_ONIE_IMAGE $KVM_IMAGE_DISK_SIZE
SONIC_USERNAME=$USERNAME PASSWD=$PASSWORD sudo -E ./scripts/build_kvm_image.sh $KVM_IMAGE_DISK $onie_recovery_image $OUTPUT_ONIE_IMAGE $KVM_IMAGE_DISK_SIZE
if [ $? -ne 0 ]; then
echo "Error : build kvm image failed"

View File

@ -4,7 +4,7 @@
#
# SPDX-License-Identifier: GPL-2.0
MEM=2048
MEM=3072
DISK=$1
ONIE_RECOVERY_ISO=$2
INSTALLER=$3