document automatic mount of users Windows shares

This commit is contained in:
2024-09-23 08:29:50 +02:00
parent aa54551d1a
commit 5eaf6f08e9
+22
View File
@@ -2,6 +2,28 @@
Managing mount points of local or network volumes can also be managed in Hiera.
First we show more generic features which mount a given set of network drives.
More below is documented how individual mounts can be created or removed.
## Access same Network Drives as Windows
Linux can be made to mount a users usual network drives the same way as Windows.
The mountpoints can be found in `~/network-drives`.
The `U:`-drive is there named `home`, while the rest keeps their original share name.
This feature is controlled in Hiera with
```
user_session::mount_cifs_shares: true
```
These mounts are created on the first user session created and will end with the last session closed.
If for some reason they are not created (e.g. due to offline login), you might execute `/opt/pli/bin/create-network-drive-links` to bring them back in again.
Note this does not work for RHEL7.
## Managing Mountpoints in Hiera