Update host template to allow custom hostname.
Add firewall rule support.