From 59891e405d1e6ac03d41d0ccc711fe6c0da7d192 Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Thu, 25 May 2023 19:10:44 +0200 Subject: [PATCH] nixosTests.systemd-initrd-networkd-ssh: bootDevice -> rootDevice Missed deprecation fixup during the bootDisk PR. --- nixos/tests/systemd-initrd-networkd-ssh.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nixos/tests/systemd-initrd-networkd-ssh.nix b/nixos/tests/systemd-initrd-networkd-ssh.nix index 526aa16efdd..46dbdf53739 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", )