From c562db4c6ee2dd0b4c57d371bf08e8e68f38e5f8 Mon Sep 17 00:00:00 2001 From: Brian Cain Date: Fri, 17 Aug 2018 10:49:35 -0700 Subject: [PATCH] (#10125) Add note about /etc/hosts for guest hostname setting --- website/source/docs/vagrantfile/machine_settings.html.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/website/source/docs/vagrantfile/machine_settings.html.md b/website/source/docs/vagrantfile/machine_settings.html.md index 6a6e1d078..7d6fe9a19 100644 --- a/website/source/docs/vagrantfile/machine_settings.html.md +++ b/website/source/docs/vagrantfile/machine_settings.html.md @@ -133,7 +133,8 @@ networks. `config.vm.hostname` - The hostname the machine should have. Defaults to nil. If nil, Vagrant will not manage the hostname. If set to a string, -the hostname will be set on boot. +the hostname will be set on boot. If set, Vagrant will update `/etc/hosts` +on the guest with the configured hostname.