master #1

Merged
olivier merged 22 commits from vincent/notebook:master into master 2021-04-13 13:15:00 +00:00
2 changed files with 18 additions and 1 deletions
Showing only changes of commit 2e1c1d64c6 - Show all commits

View File

@ -8,3 +8,6 @@
key|comportment key|comportment
---|----------- ---|-----------
| |

View File

@ -17,6 +17,20 @@
- appliquer une snapshot: `virsh snapshot-revert --domain --snapshotname "ansible ping OK" --running` - appliquer une snapshot: `virsh snapshot-revert --domain --snapshotname "ansible ping OK" --running`
- delete snapshot: `virsh snapshot-delete --domain freebsd --snapshotname 5Sep2016_S2` - delete snapshot: `virsh snapshot-delete --domain freebsd --snapshotname 5Sep2016_S2`
## share folder with host
- add a filesystem device to your host:
```
<filesystem type='mount' accessmode='squash'>
<source dir='/home/vincent/Documents'/>
<target dir='/mnt/workplace'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
</filesystem>
```
- on guest mount the filesystem:
- with mount cmd :`mount -t 9p -o trans=virtio,version=9p2000.L mount_tag /path/to/mount_point/on/guest`
- in your fstab:`mount_tag /path/to/mount_point/on/guest 9p trans=virtio,version=9p2000.L 0 0`
- add in **9pnet_virtio** to **/etc/modules-load.d/9pnet_virtio.conf**
## enabling guest function on arch ## enabling guest function on arch