remove localfqdn grain

This commit is contained in:
David Bishop 2012-03-17 17:27:25 -04:00
parent 0abedcd56d
commit d5cbf92089

View File

@ -461,7 +461,6 @@ def hostname():
comps = grains['fqdn'].split('.')
grains['host'] = comps[0]
grains['localhost'] = socket.gethostname()
grains['localfqdn'] = __salt__['cmd.run']('hostname -f').strip()
if len(comps) > 1:
grains['domain'] = '.'.join(comps[1:])
else: