diff --git a/IT/linux/zsh.md b/IT/linux/zsh.md index c7bf988..f994129 100644 --- a/IT/linux/zsh.md +++ b/IT/linux/zsh.md @@ -8,3 +8,6 @@ key|comportment ---|----------- | + + + diff --git a/IT/virsh.md b/IT/virsh.md index 2bc18da..474979e 100644 --- a/IT/virsh.md +++ b/IT/virsh.md @@ -17,6 +17,20 @@ - appliquer une snapshot: `virsh snapshot-revert --domain --snapshotname "ansible ping OK" --running` - delete snapshot: `virsh snapshot-delete --domain freebsd --snapshotname 5Sep2016_S2` +## share folder with host + +- add a filesystem device to your host: + ``` + + + +
+ + ``` +- 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 @@ -25,4 +39,4 @@ ``` MODULES=(virtio virtio_blk virtio_pci virtio_net) -``` \ No newline at end of file +```