How do I make hostname -f return the FQDN for a dynamic IP address (on the non-bootable network interface)?
This comes in useful for some SGE configurations. The following code should be added to /etc/dhcp/dhclient-enter-hooks (the exact path of...