qemu-vm.nix: Do not mount /boot
read-only.
There does not seem to be a good reason to do this, and it breaks running `nixos-rebuild boot --install-bootloader` inside the VM.
This commit is contained in:
parent
e74755c422
commit
2fa351b6a5
@ -315,7 +315,7 @@
|
|||||||
switch</command>), because the hardware and boot loader configuration in
|
switch</command>), because the hardware and boot loader configuration in
|
||||||
the VM are different. The boot loader is installed on an automatically
|
the VM are different. The boot loader is installed on an automatically
|
||||||
generated virtual disk containing a <filename>/boot</filename>
|
generated virtual disk containing a <filename>/boot</filename>
|
||||||
partition, which is mounted read-only in the VM.
|
partition.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
@ -630,7 +630,6 @@ in
|
|||||||
{ "/boot" =
|
{ "/boot" =
|
||||||
{ device = "${lookupDriveDeviceName "boot" cfg.qemu.drives}2";
|
{ device = "${lookupDriveDeviceName "boot" cfg.qemu.drives}2";
|
||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
options = [ "ro" ];
|
|
||||||
noCheck = true; # fsck fails on a r/o filesystem
|
noCheck = true; # fsck fails on a r/o filesystem
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user