vagrant-bindfs 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/vagrant-bindfs/cap/linux/bindfs_installed.rb +4 -1
- data/lib/vagrant-bindfs/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 748c092fd2cadf3c3605d820738e0f6a4a34af90
|
4
|
+
data.tar.gz: 9b44bc4f51b98206dc4536742049ad5bf0b6093f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f28c41dc2bdae4d6fca9b81e609d3f48dad43ff7469aedbf79d8affe38cec60c518bfbfc2becc17187a73efcf5ac225c9d02d87e8f7fcedce2374358514e5e2
|
7
|
+
data.tar.gz: 359fd4c6710a62cce62b84d76841659e9871bc9f85053a8cd939bd357d2adcb18d28e374da9c8f9fd11dca0b9994292d755dbc631102a6b48407119b6a6f3021
|
data/README.md
CHANGED
@@ -97,7 +97,7 @@ See [bindfs man page](http://bindfs.org/docs/bindfs.1.html) for details.
|
|
97
97
|
vagrant-bindfs detects installed version of bindfs, translate option names when needed and ignore an option if it is not supported.
|
98
98
|
As we may have missed something, it will warn you when a binding command fail.
|
99
99
|
|
100
|
-
On Debian and
|
100
|
+
On Debian, SUSE and CentOS (5-6) guest systems, vagrant-bindfs will try to install bindfs automatically if it is not installed.
|
101
101
|
On other system, you'll get warned.
|
102
102
|
|
103
103
|
|
@@ -9,10 +9,13 @@ module VagrantPlugins
|
|
9
9
|
end
|
10
10
|
|
11
11
|
def self.loaded_fuse?(machine)
|
12
|
-
machine.communicate.test("lsmod | grep -q fuse")
|
12
|
+
machine.communicate.test("lsmod | grep -q fuse || grep -q fuse /etc/modules")
|
13
13
|
end
|
14
14
|
|
15
15
|
def self.modprobe_fuse(machine)
|
16
|
+
unless machine.communicate.test("grep -q fuse /etc/modules")
|
17
|
+
machine.communicate.sudo("bash -c \"echo 'fuse' >> /etc/modules\"")
|
18
|
+
end
|
16
19
|
machine.communicate.sudo("/sbin/modprobe fuse")
|
17
20
|
end
|
18
21
|
|