mitchellh/vagrant — pull request #2777 by smoyer (2014-01-07 18:56:05+00:00)
Title: Update change_host_name.rb

This was introduced in 1.4.1 with https://github.com/mitchellh/vagrant/commit/d26c1471d74ec26a7a1386200f21e1fa3d8f5711.

This PR sets the active hostname back to the name specified in the Vagrantfile (fqdn).

Setting it to the short name causes loads of problems while configuring the system. I've had issues with sudoers hostname matching, Weblogic certificate generation and a few others. Even if I changed all of the Chef recipes, the fqdn is set in /etc/sysconfig/network so the active hostname will switch to the fqdn after a reboot.