Setting Custom Hostname
If you need to change the hostname
you can use this addon:
This is useful when your processes require a short hostname. For example, OpenJDK 6 and OpenJDK 7 processes will encounter buffer overflows when the host name is too long.