Closed yaroslav-gwit closed 11 months ago
The change has been implemented. You can now add your shares like so:
"9p_shares": [
{ "share_name": "temp", "read_only": false, "share_location": "/tmp/" },
{ "share_name": "root", "read_only": true, "share_location": "/root/" }
],
VirtIO 9P
binds will allow us to automate VM deployments even further, due to the fact that any kind of scripts:shell
,Nim
,Go
,Python
, etc etc can be mounted in a specific folder, and executed on boot.On the
bhyve
side it's as simple as adding this line:sharename=/path/to/share[,9p-device-options]
. For example:Then, on the VM side it can be mounted like so: