vagrant-persistent-storage 0.0.11 → 0.0.12
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 -0
- data/lib/vagrant-persistent-storage/manage_storage.rb +3 -3
- data/lib/vagrant-persistent-storage/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: 67e6213d9ca791c31e2c7fed2c93621e787002a7
|
4
|
+
data.tar.gz: b4cdb3519aacc50be8585cca8c2148bf547b79f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d940162663e3885e7cde935e0f561b50882cbf7a01bbd0593684e2526a6fb140c13f3acc310caeef1df441bdac4a6894f785a529b4891b15c896f01a1738fb52
|
7
|
+
data.tar.gz: 2d3208fb62492f34e78eb69300d7c26ebf6a9d8fda5960dad96df2a4b176f5e8fa7fe692e1e79e6e77917a077f2a01d4dff4fbd991559a602dadbe2d85bfe701
|
data/README.md
CHANGED
@@ -52,6 +52,7 @@ with entries added to fstab ... subsequent runs will mount this disk with the op
|
|
52
52
|
* [Jeremiah Snapp](https://github.com/jeremiahsnapp)
|
53
53
|
* [Hiroya Ito](https://github.com/hiboma)
|
54
54
|
* [joshuata](https://github.com/joshuata)
|
55
|
+
* [Ciprian Zaharie](https://github.com/bucatzel)
|
55
56
|
|
56
57
|
## TODO
|
57
58
|
|
@@ -70,13 +70,13 @@ exit $?
|
|
70
70
|
EOF
|
71
71
|
|
72
72
|
buffer = disk_operations_template.result(binding)
|
73
|
-
tmp_script = "
|
73
|
+
tmp_script = Tempfile.new("disk_operations_#{mnt_name}.sh")
|
74
74
|
target_script = "/tmp/disk_operations_#{mnt_name}.sh"
|
75
75
|
|
76
|
-
File.open("#{tmp_script}", 'wb') do |f|
|
76
|
+
File.open("#{tmp_script.path}", 'wb') do |f|
|
77
77
|
f.write buffer
|
78
78
|
end
|
79
|
-
m.communicate.upload(tmp_script, target_script)
|
79
|
+
m.communicate.upload(tmp_script.path, target_script)
|
80
80
|
m.communicate.sudo("chmod 755 #{target_script}")
|
81
81
|
end
|
82
82
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-persistent-storage
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sebastian Kusnier
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-04-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|