Browse Source

FQDN is the same as minion ID. Save DNS lookup.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>
Maximilian Wilhelm 7 years ago
parent
commit
9b10e41867
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bash/bashrc.root

+ 1 - 1
bash/bashrc.root

@@ -2,7 +2,7 @@
 
 # Note: PS1 and umask are already set in /etc/profile. You should not
 # need this unless you want different defaults for root.
-fqdn=$(hostname -f)
+fqdn="{{ grains['id'] }}"
 PS1='${debian_chroot:+($debian_chroot)}${fqdn}:\w\$ '
 # umask 022