vagrant/plugins/guests
phinze 688bca14f5 refactoring ubuntu/debian change_host_name
there's been a lot of churn around this code, so i figure it was worth
trying to clean it up.

 - the methods were doing a lot, so make them into template methods with
   one helper per step
 - spread out /etc/hosts regexp into a couple of helper variables for
   clarity
 - remove handling for broken hostname implementations (like basing all
   of the checks on name.split('.')[0]), since it seems reasonable to
   remove code dedicated only to handling broken boxes
 - DRY up the shared code between debian/ubuntu implementations, which
   clarifies the differences as well
 - add unit tests around the behavior; this will help us in the future
   to separate flaws in our understanding from flaws in implementation
 - includes a new DummyCommunicator in tests which should be useful in
   supporting additional unit testing of this kind
 - manually tested this on squeeze, wheezy, precise, quantal, raring,
   and saucy successfully.

handles the issue in #2333
2013-11-24 11:46:12 -06:00
..
arch Use hostnamectl in plugins/guests/arch/cap/change_host_name.rb 2013-08-10 00:41:18 +00:00
coreos guests/coreos: proper guest IP detection [GH-2146] 2013-09-06 11:30:53 -07:00
darwin Support verify_vmware_hgfs in darwin guest. 2013-08-09 15:00:38 -04:00
debian refactoring ubuntu/debian change_host_name 2013-11-24 11:46:12 -06:00
esxi guests/esxi: Add support for VMware ESXi guests 2013-10-08 21:47:32 -07:00
fedora Fix configure_networks for Fedora as well 2013-04-08 11:08:14 -07:00
freebsd Allow the FreeBSD plugin to install without bash [GH-2485] 2013-11-22 15:30:12 -08:00
gentoo Improve Gentoo guest detection 2013-08-03 19:55:17 +02:00
linux synced_folders/nfs: specify nfs_udp false to disable udp [GH-2304] 2013-11-23 13:43:48 -08:00
omnios SmartOS should be OmniOS 2013-05-01 19:02:00 -07:00
openbsd more capabilities for OpenBSD guest 2013-08-28 13:12:09 +09:00
pld Lots more guest capabilities converted 2013-04-04 12:09:40 -07:00
redhat ifdown ethN before munging ifcfg-ethN (i.e. removing previous vagrant config for network interface) 2013-11-02 12:35:37 -07:00
solaris Allow owner & group to be supplied as an Integer and skip lookup 2013-10-17 22:40:21 -04:00
solaris11 Restore correct pathing 2013-10-17 22:45:23 -04:00
suse Merge pull request #1689 from philippfranke/master 2013-08-09 11:21:26 -07:00
ubuntu refactoring ubuntu/debian change_host_name 2013-11-24 11:46:12 -06:00