This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
fuss:libvirt [2018/07/27 13:27] – [Create a New Virtual Machine] office | fuss:libvirt [2019/06/10 20:27] – [Passing Plan 9 Permissions] office | ||
---|---|---|---|
Line 618: | Line 618: | ||
====== Passing Plan 9 Permissions ====== | ====== Passing Plan 9 Permissions ====== | ||
- | Given a passed-through folder defined in the domain configuration | + | |
+ | ===== Access Mode Mapped ===== | ||
+ | |||
+ | The following configuration changes for the domain | ||
+ | <code xml> | ||
+ | < | ||
+ | <source dir='/ | ||
+ | <target dir=' | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | ===== Access Mode Passthrough ===== | ||
+ | |||
+ | For passthrough access mode, the following | ||
<code xml> | <code xml> | ||
< | < | ||
Line 626: | Line 639: | ||
</ | </ | ||
- | virtual | + | Virtual |
< | < | ||
user = " | user = " | ||
Line 637: | Line 650: | ||
</ | </ | ||
has to be added to ''/ | has to be added to ''/ | ||
+ | |||
+ | ===== Mounting the Share ===== | ||
Once the virtual machine boots, the share can then be automatically mounted by adding the following line: | Once the virtual machine boots, the share can then be automatically mounted by adding the following line: | ||
Line 648: | Line 663: | ||
* '' | * '' | ||
+ | ====== Setting Custom Interface Name for Bridge Networking Mode ====== | ||
+ | |||
+ | libvirt allows using: | ||
+ | < | ||
+ | <target dev=' | ||
+ | </ | ||
+ | |||
+ | to set the custom name for bridge interfaces such as '' | ||
+ | |||
+ | However, if the name of the interface contains the substring '' | ||
+ | < | ||
+ | <target dev=' | ||
+ | </ | ||
+ | |||
+ | will just be ignored by libvirt. | ||
+ | |||
+ | To resolve this issue, use a more custom-tailored interface name, for instance: | ||
+ | < | ||
+ | <target dev=' | ||
+ | </ | ||
+ | |||
+ | without containing the '' | ||