about summary refs log tree commit diff
path: root/nixos/tests/swap-partition.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/tests/swap-partition.nix')
-rw-r--r--nixos/tests/swap-partition.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/swap-partition.nix b/nixos/tests/swap-partition.nix
index 2279630b57b8f..ddcaeb95453e1 100644
--- a/nixos/tests/swap-partition.nix
+++ b/nixos/tests/swap-partition.nix
@@ -7,7 +7,7 @@ import ./make-test-python.nix ({ lib, pkgs, ... }:
     {
       virtualisation.useDefaultFilesystems = false;
 
-      virtualisation.bootDevice = "/dev/vda1";
+      virtualisation.rootDevice = "/dev/vda1";
 
       boot.initrd.postDeviceCommands = ''
         if ! test -b /dev/vda1; then