Skip to content

Commit

Permalink
autofs.conf: set use_hostname_for_mounts
Browse files Browse the repository at this point in the history
Set option to pass hostnames to the kernel mount instead of resolved ip
addresses. This also disables the attempt of automount to filter
and sort hosts by pinging them with own rpc calls. The problem with that
is, that this requires knowledge which needs to be maintained about the
evolving nfs protocols.
  • Loading branch information
donald committed Mar 2, 2021
1 parent 2c491f1 commit 8b09d73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misc_etc_files/autofs.conf
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ browse_mode = no
# If that behaviour is not wanted then set
# ths to "yes", default is "no".
#
#use_hostname_for_mounts = "no"
use_hostname_for_mounts = "yes"
#
# disable_not_found_message - The original request to add this log message
# needed it to be unconditional. That produces, IMHO,
Expand Down

0 comments on commit 8b09d73

Please sign in to comment.