On an Ubuntu box, let's say the hostname is machine1.example.com.when you're doing a reverse lookup on 1.2.3.4 with that config you're getting back the first name which is the short hostname. to get the FQDN just reverse that to:
In /etc/hosts, the first line is
1.2.3.4 machine1 machine1.example.com
What will chef consider the fqdn and hostname? Apparently just "machine1".
Now that I have discovered this strange quirk, I wonder if I should use this
on
purpose, to make the machine names smaller. Or, be careful to avoid this
loophole. I am just thinking out loud. Do people generally use the whole
fqdn...
Archive powered by MHonArc 2.6.16.