(MAINT) use the host.name (not vmhostname), fix /etc/hosts generation

- vmhostname was being set incorrectly and breaking PE installation
- /etc/hosts generation fixed so that it has entries for all other hosts
  on each individual host