summaryrefslogtreecommitdiffstats
path: root/nixos
diff options
context:
space:
mode:
authorRaito Bezarius <masterancpp@gmail.com>2023-05-25 19:10:44 +0200
committerRaito Bezarius <masterancpp@gmail.com>2023-06-08 16:56:01 +0200
commit59891e405d1e6ac03d41d0ccc711fe6c0da7d192 (patch)
tree4dc2f796aaf843989717e7b6e44e36724df8e5b1 /nixos
parentc1f0de6e2006b0c60f0fae602e073415574fd0eb (diff)
nixosTests.systemd-initrd-networkd-ssh: bootDevice -> rootDevice
Missed deprecation fixup during the bootDisk PR.
Diffstat (limited to 'nixos')
-rw-r--r--nixos/tests/systemd-initrd-networkd-ssh.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/tests/systemd-initrd-networkd-ssh.nix b/nixos/tests/systemd-initrd-networkd-ssh.nix
index 526aa16efdd7..46dbdf537393 100644
--- a/nixos/tests/systemd-initrd-networkd-ssh.nix
+++ b/nixos/tests/systemd-initrd-networkd-ssh.nix
@@ -16,9 +16,9 @@ import ./make-test-python.nix ({ lib, ... }: {
};
specialisation.encrypted-root.configuration = {
- virtualisation.bootDevice = "/dev/mapper/root";
+ virtualisation.rootDevice = "/dev/mapper/root";
boot.initrd.luks.devices = lib.mkVMOverride {
- root.device = "/dev/vdc";
+ root.device = "/dev/vdb";
};
boot.initrd.systemd.enable = true;
boot.initrd.network = {
@@ -63,7 +63,7 @@ import ./make-test-python.nix ({ lib, ... }: {
server.wait_for_unit("multi-user.target")
server.succeed(
- "echo somepass | cryptsetup luksFormat --type=luks2 /dev/vdc",
+ "echo somepass | cryptsetup luksFormat --type=luks2 /dev/vdb",
"bootctl set-default nixos-generation-1-specialisation-encrypted-root.conf",
"sync",
)