Commit Graph

144 Commits

Author SHA1 Message Date
Kienan Stewart 7fec9cdd3f
Merge tag 'v1.8.9' 2018-12-02 14:17:27 -05:00
Seth Reeser 93b672d829 Releasing v1.8.9 2018-05-18 10:23:04 -04:00
Kienan Stewart 4dda89d1e8 Load locales from shared directory 2018-05-18 08:19:46 -04:00
John Landis 7e434ecbb4
Move newlines out of quoted header and footer. Match carriage return along with newline in hosts file pattern. 2018-05-17 16:35:39 -04:00
Seth Reeser bc8c0eb2e3 Releasing v1.8.8 2018-04-17 17:56:00 -04:00
Seth Reeser eddb711cd6
Merge pull request #260 from Telekom-PD/fix_hosts_update_hang
Fix hang on systems with interactive rm
2018-04-17 17:46:37 -04:00
Seth Reeser 81079f706a
Merge pull request #236 from chaimpeck/copy-hosts-quotes-fix
Added quotes to location to handle spaces in file paths
2018-04-17 17:45:44 -04:00
Simon Baatz 33e23bffb9 Fix hang on systems with interactive rm
Some systems configure `rm` to prompt when deleting a file as root
user. On such systems, hostmanager hangs when updating the hosts file
since commit 84d2f9e4be ("fix host file management to be windows and
linux compatible").

Avoid this by adding the '-f' parameter to rm.
2018-04-17 10:24:20 +02:00
Seth Reeser ede8b487f3 Releasing v1.8.7 2017-07-11 12:30:22 -04:00
Jeff Peck 901859fff0 Added quotes to location to handle spaces in file paths 2017-05-28 01:36:59 -04:00
BadgerOps 84d2f9e4be fix host file management to be windows and linux compatible 2017-05-04 12:27:07 -06:00
BadgerOps c2637f6f78 fix host file update path 2017-05-03 14:56:01 -06:00
Seth Reeser 4d335cbb80 Releasing v1.8.6 2017-05-03 15:27:24 -04:00
Seth Reeser 42bfe1f82b Explicitly define LF or CRLF line endings for hosts and guests when defining the hosts file content. 2017-05-03 15:25:59 -04:00
Seth Reeser 4ae7655be4 Fixes #209 2016-07-20 15:40:56 -04:00
Seth Reeser df9d315320 Releasing v1.8.4 2016-07-18 22:30:13 -04:00
Seth Reeser df35eb2a87 Fixes #208 2016-07-18 22:29:41 -04:00
Seth Reeser 643b1c8a89 Releasing v1.8.3 2016-07-13 12:07:05 -04:00
Austin Parker 076cca4af7 don't update non-running machines
fix equality comparison
2016-07-05 13:51:22 -04:00
Seth Reeser b10bb872c4 Release v1.8.2 2016-06-17 13:01:27 -04:00
Austin Parker c7f468012b cast pathname to string 2016-06-17 12:06:21 -04:00
Ben Doherty 50b34b9659 If hosts file is writable without sudo, don't use sudo 2016-06-03 10:06:23 -04:00
Seth Reeser a179758eaf Fixes #177 - Manage the guest by default. 2016-02-11 14:13:12 -05:00
Seth Reeser 6f4c0d7c6a Releasing v1.8.0 2016-02-11 10:54:33 -05:00
Seth Reeser 3b840be5fe Merge pull request #125 from damienjoldersma/feature/manage-guest-flag
Fix for issue #108, add a flag to manage guest hosts file.
2016-02-11 10:50:44 -05:00
Seth Reeser f1b0174c11 Releasing v1.7.1 2016-01-29 13:48:13 -05:00
Tony Lambiris dd43278e83 Ensure permissions on /etc/hosts stay intact 2016-01-29 13:30:33 -05:00
Seth Reeser 117dc4bee7 v1.7.0 release. 2015-12-30 09:50:40 -05:00
Elbek Azimov c8af029948 fix: move hosts file inside the docker container #136 2015-10-10 23:28:50 +05:00
Seth Reeser a48f08d272 Bumping to v1.6.1 2015-08-06 10:53:14 -04:00
Seth Reeser dcdfcc9262 Reversing cf651497a2 as v1.6.0 has been a success. 2015-08-06 10:48:05 -04:00
Seth Reeser bb53e420ae Retain tmp hosts file and fix a bug where powershell mv does not move folder contents, in that context it's moving a file. 2015-08-06 10:39:06 -04:00
Seth Reeser 3214098246 Be a bit more specific. 2015-07-27 10:08:25 -04:00
Seth Reeser 7bee95fc95 Merge pull request #139 from la-magra/is-crlf-hosts-file
Fix situation with hosts file line endings
2015-07-24 09:24:10 -04:00
Seth Reeser cf651497a2 Merge pull request #117 from pbitty/separate_aliases_option
make separating aliases into multiple lines optional
2015-07-22 14:09:16 -04:00
Seth Reeser e50e04fd38 Releasing version 1.6.0 2015-07-20 17:07:41 -04:00
la-magra ca57c23941 Fix situation with hosts file line endings
I ran into a situation in which the the hosts file in the guest (ubuntu 14.04) had CRLF line endings when vagranted from a Windows server 2012 R2, with Vagrant 1.7.2 with hostmanager 1.5.0 . The vagrant commands where run from a cygwin shell.
As per Ruby documentation, replacing open mode to binary "Suppresses EOL <-> CRLF conversion on Windows."
2015-03-05 18:41:27 -06:00
Damien Joldersma 7c06c812f6 Fix for issue #108, add a flag to manage guest hosts file. 2014-11-14 12:42:54 -08:00
Paulo Bittencourt 29a4e37f58 make separating aliases into multiple lines optional 2014-10-12 22:29:47 -04:00
Paulo Bittencourt 8ec6108143 Merge pull request #98 from pbitty/refactor_module
migrate HostsFile code into its own class
2014-07-21 22:07:52 -04:00
Paulo Bittencourt 2e54e3fad5 migrate UpdateAll action to use Updater class and remove hosts_file.rb 2014-07-21 21:46:18 -04:00
Paulo Bittencourt 5581f1cbe9 migrate provisioner to use Updater class 2014-07-21 21:42:50 -04:00
Paulo Bittencourt 04dee9b353 migrate UpdateGuest action to use Updater class 2014-07-21 21:42:50 -04:00
Paulo Bittencourt f46b0aa984 migrate UpdateHost action to use Updater class 2014-07-21 21:42:50 -04:00
Paulo Bittencourt 90fe71540a extract Updater class into its own file 2014-07-21 21:42:50 -04:00
Paulo Bittencourt 8456e91fbd remove redundant config argument from Updater initializer 2014-07-21 21:42:31 -04:00
Paulo Bittencourt 22af89a8de isolate core HostsFile module code into its own class 2014-07-21 21:42:31 -04:00
Paulo Bittencourt d60018ad1d remove unnecessary HostsFile include 2014-07-21 21:41:50 -04:00
Paulo Bittencourt 7e2ac2ae30 Merge pull request #105 from axislab/commands
Show description for hostmanager when vagrant list-commands is triggered
2014-07-21 21:31:14 -04:00
axisthemes f81fc562f3 Show description for hostmanager when vagrant list-commands is triggered 2014-07-08 10:07:39 +05:45