Update hostname for VM.