Fixing hostname provisioning