Improved 9p sharing options in VM template


Recommended Posts

I'd like to propose an alternate interface for the "Unraid Share" 9p mounting options in the VM template.

 

The current method of picking a folder and providing a name:

image.png.1a76d2e7be5babc788a172334fd3ada2.png

can remain an advanced option, but I think what makes more sense in an Unraid world is to provide a list of shares and checkboxes. If you place a checkbox by the "Movies" share, it should be able to automatically map the source dir and target dirs in the template:

    <filesystem type='mount' accessmode='passthrough'>
      <source dir='/mnt/user/Movies/'/>
      <target dir='Movies'/>
      <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
    </filesystem>

 

Similarly, when reading the template to build the form view it should be able to automatically figure out which source dirs and target dirs map to a Share and fill in the appropriate checkboxes on the form.

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.