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

Commit

Permalink
functional: increase RAM to 1024MB to fix build errors
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Dongsu Park committed Jun 21, 2016
1 parent f139f14 commit bc82266
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion functional/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@

# Customize VMs
#$vm_gui = false
$vm_memory = 512
$vm_memory = 1024
$vm_cpus = 1

# Share additional folders to the CoreOS VMs
Expand Down
2 changes: 1 addition & 1 deletion functional/run-in-qemu
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ qemu-img create -f qcow2 -b $BASE_IMAGE $IMAGE || print_error "Failed to create

qemu-system-x86_64 \
-name $NAME \
-m 512 \
-m 1024 \
-net nic,vlan=0,model=virtio \
-net user,vlan=0,hostfwd=tcp:127.0.0.1:$COREOS_SSH_PORT-:22,hostname=$NAME \
-drive if=virtio,file=$IMAGE \
Expand Down

0 comments on commit bc82266

Please sign in to comment.