mirror of
https://github.com/nix-community/disko.git
synced 2026-11-30 13:03:28 +01:00
interactive-vm: override forceImportRoot
Some users will have `boot.zfs.forceImportRoot = false;` in their configurations which conflicts with `boot.zfs.forceImportAll = true;`, so we set it to `true` to match.
This commit is contained in:
1 parent
67dc29be30
commit
b709e1cc33
1 file changed
+1
@@ -64,6 +64,7 @@ in
|
||||
virtualisation.qemu.drives = [ rootDisk ] ++ otherDisks;
|
||||
boot.zfs.devNodes = "/dev/disk/by-uuid"; # needed because /dev/disk/by-id is empty in qemu-vms
|
||||
boot.zfs.forceImportAll = true;
|
||||
boot.zfs.forceImportRoot = lib.mkForce true;
|
||||
|
||||
system.build.vmWithDisko = hostPkgs.writers.writeDashBin "disko-vm" ''
|
||||
set -efux
|
||||
|
||||
Reference in new issue
Block a user