Fix 9p mount of /nix/store

This fixes the following error during stage 1:
9pnet_virtio: no channels available for device nix-store
This commit is contained in:
ilian 2021-12-20 11:34:53 +01:00 committed by Mikhail Klementev
parent c6159a7925
commit 5753321877

2
xml.go
View File

@ -93,7 +93,7 @@ var xmlTmpl = `
<!-- filesystems --> <!-- filesystems -->
<filesystem type='mount' accessmode='passthrough'> <filesystem type='mount' accessmode='passthrough'>
<source dir='/nix/store'/> <source dir='/nix/store'/>
<target dir='store'/> <target dir='nix-store'/>
<readonly/> <readonly/>
</filesystem> </filesystem>
<filesystem type='mount' accessmode='mapped'> <filesystem type='mount' accessmode='mapped'>