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:
parent
3cb2a5f930
commit
832fb44eb8
1 changed files with 1 additions and 1 deletions
|
|
@ -90,7 +90,7 @@ func withBootedQemuImage(image string, ns netNS, f func() error) error {
|
||||||
|
|
||||||
qemuCmd := ns.NamespacedCommand(
|
qemuCmd := ns.NamespacedCommand(
|
||||||
"qemu-system-x86_64",
|
"qemu-system-x86_64",
|
||||||
"-m", "2048",
|
"-m", "1024",
|
||||||
"-snapshot",
|
"-snapshot",
|
||||||
"-accel", "accel=kvm:hvf:tcg",
|
"-accel", "accel=kvm:hvf:tcg",
|
||||||
"-cdrom", cloudInitFile.Name(),
|
"-cdrom", cloudInitFile.Name(),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue