vagrant-goodhosts 1.0.10 → 1.0.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/vagrant-goodhosts/GoodHosts.rb +2 -2
- data/lib/vagrant-goodhosts/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 49d1ef8ce5027c31ed5ec247e6e970c8c4aeaf63768f580a01a8a728c72ab0d7
|
4
|
+
data.tar.gz: abab4a95a6f01277fcfdaaac8e18a14a8bf8e2c734d2d9e458458f6224a8f73d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 300fb83736beb9410f886bc3973e7f3280dfad083b9b0bf995d265f1cd74b53cca9b930255deabc738fcf900768049f102044fe901a069515278a81d77d16435
|
7
|
+
data.tar.gz: d24e96eafd0d1bf66c00d8ba52625601af178b3f4e87dc2ec9fcfc8316b465cee3b8ec1dc781759465cb48f02afd6be9cf1772366f7f79bd85525f0b1ddfcced
|
@@ -110,7 +110,7 @@ module VagrantPlugins
|
|
110
110
|
if not shouldClean(ip_address)
|
111
111
|
clean = "--clean"
|
112
112
|
end
|
113
|
-
stdin, stdout, stderr, wait_thr = Open3.popen3("sudo
|
113
|
+
stdin, stdout, stderr, wait_thr = Open3.popen3("sudo #{cli} add #{clean} #{ip_address} #{hostnames}")
|
114
114
|
end
|
115
115
|
if !wait_thr.value.success?
|
116
116
|
error = true
|
@@ -142,7 +142,7 @@ module VagrantPlugins
|
|
142
142
|
if not shouldClean(ip_address)
|
143
143
|
clean = "--clean"
|
144
144
|
end
|
145
|
-
stdin, stdout, stderr, wait_thr = Open3.popen3("sudo
|
145
|
+
stdin, stdout, stderr, wait_thr = Open3.popen3("sudo #{cli} remove #{clean} #{ip_address} #{hostnames}")
|
146
146
|
end
|
147
147
|
if !wait_thr.value.success?
|
148
148
|
error = true
|