tests/image: give the test VM only 1 GB of memory

The VM doesn't need 2 GBs to start Fedora and ssh server. This fix enables
us to run the tests in more constrained environment.
This commit is contained in:
Ondřej Budai 2020-03-17 11:58:57 +01:00
parent 3cb2a5f930
commit 832fb44eb8

View file

@ -90,7 +90,7 @@ func withBootedQemuImage(image string, ns netNS, f func() error) error {
qemuCmd := ns.NamespacedCommand(
"qemu-system-x86_64",
"-m", "2048",
"-m", "1024",
"-snapshot",
"-accel", "accel=kvm:hvf:tcg",
"-cdrom", cloudInitFile.Name(),