vagrant/plugins/guests
Paul Hinze abe0731d2e guests/{ubuntu,debian}: fix change_host_name for trailing dots [GH-2610]
When `/etc/hosts` contained a FQDN with a trailing dot, the `\b` in the
sed expression would not match, since dot is not considered to be a word
character.

Fix this by regexp-escaping the hostname search, and matching the end of
the line on optional space followed by additional characters.

Also add some tests that extract the regexp used by sed and verify that
it does what we want. These will hopefully serve us in the future if we
ever need to test additional edge cases.
2013-12-09 18:56:45 -06:00
..
arch Add the symlink back that disabled renaming of network interface names 2013-12-07 14:59:40 -06: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 guests/{ubuntu,debian}: fix change_host_name for trailing dots [GH-2610] 2013-12-09 18:56:45 -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 Fix testing if initctl exists 2013-12-06 18:17:41 -03: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 require pld/cap/change_host_name 2013-11-27 09:38:28 +02:00
redhat guests/redhat: DHCP_HOSTNAME set to hostname [GH-2441] 2013-11-26 11:28:47 -08: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 guests/linux: emit upstart event for vagrant mounted if avail [GH-2502] 2013-11-25 11:31:15 -08:00