On 12/07/2017 10:55 PM, Miguel Angel Coa M. via FreeIPA-users wrote:
Hello, I'm configure automount/nfs in my IPA server but a have a question for change the remote mount point. For example, now the when user login automount "mount" the home under /home/XXXX , but i need change this directory, for example /home/remote/XXXX
Example:
[.................] su - foo df -h ipa.example.local:/autohome/foo 8.0G 6.2G 1.9G 77% /home/foo [.................]
But i need
[.................] su - foo df -h ipa.example.local:/autohome/foo 8.0G 6.2G 1.9G 77% /home/remote/foo [.................]
My setting are:
ipa automountlocation-add ipauserhome ipa automountmap-add ipauserhome auto.home ipa automountkey-add ipauserhome auto.home --key="*" --info="-fstype=nfs ipa.example.local:/autohome/&" ipa automountlocation-tofiles ipauserhome
Thanks
Saludos.
Miguel Coa M.
Good morning Miguel,
You need to set your auto.master map to tell autofs that auto.home should use /remote/home as mountpoint.
/tony