Update Machines virtuelles/generic.md

This commit is contained in:
Adrien Bourmault 2021-12-08 01:10:22 +00:00
parent c2ea4ad680
commit c73baf0557
1 changed files with 19 additions and 0 deletions

View File

@ -144,6 +144,25 @@ systemclt enable ufw
@localhost admin@a-lec.org @localhost admin@a-lec.org
@generic.a-lec.org admin@a-lec.org @generic.a-lec.org admin@a-lec.org
### Configuration système de fichier partagé
#### /etc/fstab (extrait)
<details>
/vm_sharedfs /opt/vm_sharedfs 9p trans=virtio,version=9p2000.L,ro 0 0
</details>
#### /etc/initramfs-tools/modules
<details>
9p
9pnet
9pnet_virtio
</details>
Note: côté hyperviseur, il faut configurer un FS partagé en mode "mapped" avec pour cible /vm_sharedfs.
### Configurations bashrc ### Configurations bashrc
#### /etc/skel/.bashrc (et /home/admin666/.bashrc) #### /etc/skel/.bashrc (et /home/admin666/.bashrc)