use hostname -f for internal hostnames
Merge pull request #11 from sequenceiq/hostname

use hostname -f for internal hostnames