vagrant-hostsupdater 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -2
- data/lib/vagrant-hostsupdater/plugin.rb +1 -1
- data/lib/vagrant-hostsupdater/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a2a17cded96ebcabea7b7c83fe53a211fec0f67d
|
4
|
+
data.tar.gz: b78d9ce4c6ad59cf4b84e21b20cf757bd20babab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e050e308db233943db5d919bdc29e955ac2107dac000e55d2c5cb126347dad34b48b20e7d6a020c606f38d77e06866e0790db0e203841b917bfb723a87a78db7
|
7
|
+
data.tar.gz: 0e9ab9617ce0683000bda509941020f2f8540c49a0664a9db48c78ad330ecff32a9f901dfe2ab2bc78a9c563663f7ab933bdabdb99ef03bdfb8eaf129bd2bad3
|
data/README.md
CHANGED
@@ -55,13 +55,14 @@ Example:
|
|
55
55
|
|
56
56
|
## Passwordless sudo
|
57
57
|
|
58
|
-
Add the following snippet to the sudoers file
|
58
|
+
Add the following snippet to the top of the sudoers file using `sudo visudo`. It will make vagrant
|
59
59
|
stop asking password when updating hosts file:
|
60
60
|
|
61
61
|
# Allow passwordless startup of Vagrant with vagrant-hostsupdater.
|
62
62
|
Cmnd_Alias VAGRANT_HOSTS_ADD = /bin/sh -c echo "*" >> /etc/hosts
|
63
63
|
Cmnd_Alias VAGRANT_HOSTS_REMOVE = /usr/bin/sed -i -e /*/ d /etc/hosts
|
64
|
-
%
|
64
|
+
%admin ALL=(root) NOPASSWD: VAGRANT_HOSTS_ADD, VAGRANT_HOSTS_REMOVE
|
65
|
+
|
65
66
|
|
66
67
|
|
67
68
|
## Installing development version
|
@@ -87,6 +88,9 @@ vagrant plugin install vagrant-hostsupdater-*.gem
|
|
87
88
|
|
88
89
|
## Versions
|
89
90
|
|
91
|
+
### 1.0.1
|
92
|
+
* Bugfix: Fixing `up` issue on initialize [#28](/../../issues/28)
|
93
|
+
|
90
94
|
### 1.0.0
|
91
95
|
* Stable release
|
92
96
|
* Feature: Added `skip` flag [#69](/../../issues/69)
|
@@ -18,7 +18,7 @@ module VagrantPlugins
|
|
18
18
|
|
19
19
|
action_hook(:hostsupdater, :machine_action_up) do |hook|
|
20
20
|
hook.prepend(Action::RemoveHosts)
|
21
|
-
hook.after(Action::
|
21
|
+
hook.after(Vagrant::Action::Builtin::SetHostname, Action::UpdateHosts)
|
22
22
|
end
|
23
23
|
|
24
24
|
action_hook(:hostsupdater, :machine_action_provision) do |hook|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-hostsupdater
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Falk Kühnel
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-11-
|
12
|
+
date: 2015-11-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|