diff options
author | aszlig <aszlig@redmoonstudios.org> | 2015-09-15 14:18:06 +0200 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2015-09-16 00:19:52 +0200 |
commit | 0d4a3ce4850487682008f53eb377cac43a54b6af (patch) | |
tree | bbc0d79636b010c24c127dfe319e0e89b762416a /nixos/tests/virtualbox.nix | |
parent | 7707c7df7ff1c84a619c35a51a19593debc2d0b3 (diff) | |
download | nixpkgs-0d4a3ce4850487682008f53eb377cac43a54b6af.tar nixpkgs-0d4a3ce4850487682008f53eb377cac43a54b6af.tar.gz nixpkgs-0d4a3ce4850487682008f53eb377cac43a54b6af.tar.bz2 nixpkgs-0d4a3ce4850487682008f53eb377cac43a54b6af.tar.lz nixpkgs-0d4a3ce4850487682008f53eb377cac43a54b6af.tar.xz nixpkgs-0d4a3ce4850487682008f53eb377cac43a54b6af.tar.zst nixpkgs-0d4a3ce4850487682008f53eb377cac43a54b6af.zip |
tests/virtualbox: Give test machines more memory.
Sometimes there are random kernel panics do to the lack of memory in the qemu guests, but as we're setting the VirtualBox memory size relatively low, 1024 MB should be enough for the qemu guests. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'nixos/tests/virtualbox.nix')
-rw-r--r-- | nixos/tests/virtualbox.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/virtualbox.nix b/nixos/tests/virtualbox.nix index 6b74abf1320..12cb4594b16 100644 --- a/nixos/tests/virtualbox.nix +++ b/nixos/tests/virtualbox.nix @@ -320,7 +320,7 @@ in { mkVMConf = name: val: val.machine // { key = "${name}-config"; }; vmConfigs = mapAttrsToList mkVMConf vboxVMs; in [ ./common/user-account.nix ./common/x11.nix ] ++ vmConfigs; - virtualisation.memorySize = 768; + virtualisation.memorySize = 1024; virtualisation.virtualbox.host.enable = true; users.extraUsers.alice.extraGroups = let inherit (config.virtualisation.virtualbox.host) enableHardening; |