nixosTests.systemd-initrd-luks-tpm2: mount the host Nix store
Same rationale as caf6f41e2e
.
This commit is contained in:
parent
e190364fd7
commit
efe64826c9
@ -6,6 +6,8 @@ import ./make-test-python.nix ({ lib, pkgs, ... }: {
|
|||||||
virtualisation = {
|
virtualisation = {
|
||||||
emptyDiskImages = [ 512 ];
|
emptyDiskImages = [ 512 ];
|
||||||
useBootLoader = true;
|
useBootLoader = true;
|
||||||
|
# Booting off the TPM2-encrypted device requires an available init script
|
||||||
|
mountHostNixStore = true;
|
||||||
useEFIBoot = true;
|
useEFIBoot = true;
|
||||||
qemu.options = ["-chardev socket,id=chrtpm,path=/tmp/mytpm1/swtpm-sock -tpmdev emulator,id=tpm0,chardev=chrtpm -device tpm-tis,tpmdev=tpm0"];
|
qemu.options = ["-chardev socket,id=chrtpm,path=/tmp/mytpm1/swtpm-sock -tpmdev emulator,id=tpm0,chardev=chrtpm -device tpm-tis,tpmdev=tpm0"];
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user