classes:la_slapd_l4
This is an old revision of the document!
Configure AutoFS to auto-mount user home directories
On the client machine (cls-kvm2), install our AutoFS dependencies:
sudo apt-get install autofs oddjob-mkhomedir
Add a line to /etc/auto.master
:
sudo sh -ec 'echo /nfs \\t/etc/auto.nfs >> /etc/auto.master'
Create and populate /etc/auto.nfs
:
sudo sh -ec 'echo cls-kvm1 \\tcls-kvm1.itsm.unt.edu:/home >> /etc/auto.nfs'
Create and populate /etc/auto.home
:
sudo sh -ec 'echo *\\tcls-kvm1.itsm.unt.edu:/home/\& >> /etc/auto.home'
Restart autofs
:
sudo service autofs restart sudo service autofs status
If there are no errors in the status of the autofs service, you've completed this lesson. Join me in the final lesson as we tie it all together.
classes/la_slapd_l4.1481860207.txt.gz · Last modified: 2016/12/15 19:50 by curry_searle