[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:
parent
f558f170bb
commit
8d4516ca3d
@ -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"
|
||||
|
@ -4,7 +4,7 @@
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
|
||||
MEM=2048
|
||||
MEM=3072
|
||||
DISK=$1
|
||||
ONIE_RECOVERY_ISO=$2
|
||||
INSTALLER=$3
|
Loading…
Reference in New Issue
Block a user