Commit Graph

4482 Commits

Author SHA1 Message Date
Paul Hinze e6d0db4c69 Merge pull request #2613 from phinze/2610-debian-hostname-trailing-dot
guests/{ubuntu,debian}: fix change_host_name for trailing dots [GH-2610]
2013-12-09 19:11:05 -08:00
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
Shon M 3e1471fb53 Update FreeBSD configure_networks with less shell specifics 2013-12-09 17:27:54 -07:00
Mitchell Hashimoto ea46109440 Merge pull request #2616 from mwarkentin/patch-1
website/www: fix Downloads link spacing
2013-12-09 15:04:37 -08:00
Michael Warkentin def4f0cf5b Fix Downloads link spacing 2013-12-09 18:02:21 -05:00
Mitchell Hashimoto 25b0018759 website/www: downloads link in footer 2013-12-09 11:43:44 -08:00
Mitchell Hashimoto 9df0ca1b64 website/www: fix misspelling in blog post 2013-12-09 11:23:56 -08:00
Mitchell Hashimoto 392822012f website/www: home page link to downloads work 2013-12-09 11:02:53 -08:00
Mitchell Hashimoto 62aabc5abe website/www: more debug info 2013-12-09 11:00:43 -08:00
Mitchell Hashimoto 68aa240db3 website/www: debug data when building 2013-12-09 10:57:31 -08:00
Mitchell Hashimoto c1dda44f72 website/www: link to downloads 2013-12-09 01:04:41 -08:00
Mitchell Hashimoto f084e452d3 website/www: 1.4 release announcement for tomorrow 2013-12-09 01:03:41 -08:00
Mitchell Hashimoto 1825c0ddcb website/www: properly center button 2013-12-09 00:24:08 -08:00
Mitchell Hashimoto 327caacc98 website/www: its time the homepage used precise32 2013-12-09 00:23:16 -08:00
Mitchell Hashimoto efd35826e1 website/www: link to book on support page 2013-12-09 00:19:10 -08:00
Mitchell Hashimoto 86bb93ddb4 website/www: bintray downloads 2013-12-09 00:17:20 -08:00
Mitchell Hashimoto f3553a3e39 scripts: calculate shasum 2013-12-09 00:17:14 -08:00
Mark Aaron Shirley 7dc660fd7f Add Ansible groups docs. 2013-12-08 23:33:51 -08:00
Mark Aaron Shirley 906579d25a Add ability to use Ansible groups in generated inventory. Fixes #2551. 2013-12-08 23:08:03 -08:00
Mitchell Hashimoto 163947bc36 up version for dev 2013-12-08 22:51:58 -08:00
Mitchell Hashimoto 059de113a7 v1.4.0 2013-12-08 22:51:22 -08:00
Mitchell Hashimoto 6572b95c54 Merge pull request #2605 from teaforthecat/patch-1
guests/redhat: add ONBOOT and NM_CONTROLLED to redhat/network_static
2013-12-08 21:09:12 -08:00
Chris Thompson 2877d37a03 add ONBOOT and NM_CONTROLLED to redhat/network_static
Fixes private networking on Centos 6. It seems using Network Manager (NM_CONTROLLED) to change an interface while running is a bad idea. I'm not sure of any specifics though. This is the only way I could get it to work.
2013-12-08 20:58:43 -06:00
Mitchell Hashimoto ba18d98d45 core: improve guest type detection
/cc @fgrehm - I figured you might be interested in this. :)
2013-12-08 11:14:18 -08:00
Mitchell Hashimoto 581841a195 core: style nitpicks 2013-12-07 20:59:54 -08:00
Mitchell Hashimoto d3722609f4 Merge pull request #2600 from tmatilai/info-if-provisioned
core: print info message if provisioning is skipped by the sentinel file
2013-12-07 20:58:18 -08:00
Mitchell Hashimoto ab3fec6ef8 Merge pull request #2601 from mattalexx/fix-issue-2599
guests/arch: run "ip link set [eth1] down" before running "netctl start [eth1]"
2013-12-07 16:58:01 -08:00
Matt Alexander edeb5f0e9f Add the symlink back that disabled renaming of network interface names 2013-12-07 14:59:40 -06:00
Matt Alexander df67d2b44f Run "ip link set [eth1] down" before running "netctl start [eth1]" in Arch guest network configuration 2013-12-07 14:22:19 -06:00
Teemu Matilainen cf1d94b22b core: Print info message if provisioning is skipped by the sentinel file
Tell the user if the VM has already been provisioned and no
`--[no-]provision` option has been specified. This should reduce the
confusion of the 1.3+ functionality.
2013-12-07 17:09:04 -03:00
Mitchell Hashimoto 5bf07d858e website/docs: affil links to book 2013-12-06 17:48:04 -08:00
Mitchell Hashimoto d80f32c20f synced_folders/nfs: allow plugins to provide valid NFS ids 2013-12-06 16:42:34 -08:00
Mitchell Hashimoto 2c65d247da core: Allow options to be passed down into SF cleanup 2013-12-06 16:40:24 -08:00
Mitchell Hashimoto deb6ba07b2 scripts: bintray upload 2013-12-06 15:29:54 -08:00
Mitchell Hashimoto 76df3ced03 synced_folders/nfs: style 2013-12-06 15:07:55 -08:00
Mitchell Hashimoto 55931d507e Merge branch 'nfs-sync-folder-cleanup' of https://github.com/emyl/vagrant into emyl-nfs-sync-folder-cleanup
Conflicts:
	plugins/providers/virtualbox/action.rb
2013-12-06 15:06:34 -08:00
Mitchell Hashimoto f3d71de022 Merge pull request #2591 from instilled/arch-netctl-fix
guests/arch: netctl fix
2013-12-06 15:02:41 -08:00
Mitchell Hashimoto 89f4e14ab3 Merge pull request #2585 from mitchellh/2585-fix-docker-image-assignment
provisioner/docker: unable to run multiple docker containers based off the same image
2013-12-06 14:56:15 -08:00
Teemu Matilainen b0919b916b Remove extraneous character
Going down? ;)
2013-12-06 18:57:27 -03:00
Mitchell Hashimoto 5b7a4d7f6e Merge pull request #2596 from tmatilai/fix-initctl-test
guests/linux: fix testing if initctl exists
2013-12-06 13:22:03 -08:00
Mitchell Hashimoto b65462faf1 providers/virtualbox: resume should wait for boot 2013-12-06 13:21:07 -08:00
Teemu Matilainen c566465bdc Fix testing if initctl exists
If /sbin/initctl was not found, the command (`false && ...`) returned
non-zero exit code leading to Vagrant throwing an exception.
2013-12-06 18:17:41 -03:00
Mitchell Hashimoto 17b68f7d50 provisioners/puppet: use unique directory for each definition 2013-12-06 12:39:50 -08:00
Mitchell Hashimoto f8223d4704 provisioners/chef: support proper counter for multiple chefs 2013-12-06 12:26:48 -08:00
Mitchell Hashimoto 38f931ba93 provisioners/shell: array args properly work 2013-12-06 11:28:32 -08:00
Mitchell Hashimoto 47b99d9bb8 test/acceptance: don't have the context show up as a component 2013-12-05 21:44:19 -08:00
Fabio Rehm 6d7a2fe113 website/docs: Add some links to Docker provisioner page 2013-12-05 22:14:57 -02:00
Fabio Rehm bdd4e82e49 website/docs: Add an example on how to run multiple containers based off the same image 2013-12-05 22:13:46 -02:00
Fabio Rehm 8688c6b8b2 provisioners/docker: Only assign the `image` config in case it was not specified 2013-12-05 22:12:44 -02:00
Mitchell Hashimoto b484c8d628 Merge branch 'f-acceptance'
This brings in the new acceptance testing style. See the README.
2013-12-05 14:33:12 -08:00