Skip to content
This repository was archived by the owner on Jan 30, 2020. It is now read-only.

Commit bc82266

Browse files
author
Dongsu Park
committed
functional: increase RAM to 1024MB to fix build errors
Increase RAM of test VM from 512MB to 1024MB, to fix build errors when compiling packages like github.com/ugorji/go, which will be needed in the future for dependencies. Without this change, build with go 1.6 or higher fails like that: github.com/ugorji/go/codec: /home/core/go/pkg/tool/linux_amd64/compile: signal: killed
1 parent f139f14 commit bc82266

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

functional/config.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242

4343
# Customize VMs
4444
#$vm_gui = false
45-
$vm_memory = 512
45+
$vm_memory = 1024
4646
$vm_cpus = 1
4747

4848
# Share additional folders to the CoreOS VMs

functional/run-in-qemu

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ qemu-img create -f qcow2 -b $BASE_IMAGE $IMAGE || print_error "Failed to create
139139

140140
qemu-system-x86_64 \
141141
-name $NAME \
142-
-m 512 \
142+
-m 1024 \
143143
-net nic,vlan=0,model=virtio \
144144
-net user,vlan=0,hostfwd=tcp:127.0.0.1:$COREOS_SSH_PORT-:22,hostname=$NAME \
145145
-drive if=virtio,file=$IMAGE \

0 commit comments

Comments
 (0)