Explorar el Código

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

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>
Maximilian Wilhelm hace 7 años
padre
commit
9b10e41867
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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