Skip to content

Commit 19099e2

Browse files
committed
fix host fs mount failing on first start with installer
1 parent a374c54 commit 19099e2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

modules/installer.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,10 @@ with builtins; with lib; {
5454

5555
contents = [
5656
{ source = config.environment.etc."wsl.conf".source; target = "/etc/wsl.conf"; }
57+
{ source = config.environment.etc."fstab".source; target = "/etc/fstab"; }
5758
{ source = passwd; target = "/etc/passwd"; }
59+
{ source = "${pkgs.busybox}/bin/busybox"; target = "/bin/sh"; }
60+
{ source = "${pkgs.busybox}/bin/busybox"; target = "/bin/mount"; }
5861
];
5962
};
6063

0 commit comments

Comments
 (0)