mirror of https://github.com/pikvm/pikvm.git
Add MSD section for samba
This commit is contained in:
parent
97b405a549
commit
5fb38612ae
32
docs/msd.md
32
docs/msd.md
|
|
@ -189,6 +189,38 @@ Note if an image is added to the NFS storage from the outside, PiKVM will not be
|
|||
Configuring an NFS server is beyond the scope of this guide.
|
||||
|
||||
|
||||
-----
|
||||
## Samba/CIFS storage
|
||||
|
||||
If you already have a local samba server e.g. Unraid or another NAS you can use the isos from there.
|
||||
|
||||
To refresh the list of available isos on the share it is currently necessary to reboot.
|
||||
|
||||
??? example "Step by step: Connecting Samba/CIFS storage"
|
||||
|
||||
1. Update OS:
|
||||
|
||||
{!_update_os.md!}
|
||||
|
||||
2. Make some preparations:
|
||||
|
||||
```console
|
||||
[root@pikvm ~]# rw
|
||||
[root@pikvm ~]# pacman -S cifs-utils
|
||||
[root@pikvm ~]# kvmd-helper-otgmsd-remount rw
|
||||
[root@pikvm ~]# mkdir -p /var/lib/kvmd/msd/isos
|
||||
[root@pikvm ~]# kvmd-helper-otgmsd-remount ro
|
||||
```
|
||||
|
||||
2. Add Samba/CIFS shares to `/etc/fstab`:
|
||||
|
||||
```fstab
|
||||
//192.168.0.1/isos /var/lib/kvmd/msd/isos cifs guest,_netdev,nofail 0 0
|
||||
```
|
||||
|
||||
3. Perform `reboot` to apply all changes.
|
||||
|
||||
|
||||
-----
|
||||
## Multiple drives
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue