vagrant-persistent-storage 0.0.49 → 0.0.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/README.md +3 -0
- data/lib/vagrant-persistent-storage/action/create_storage.rb +1 -1
- data/lib/vagrant-persistent-storage/config.rb +1 -1
- data/lib/vagrant-persistent-storage/providers/virtualbox/driver/base.rb +1 -1
- data/lib/vagrant-persistent-storage/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 70372f7ae94e67e8709aed0ee9dda7e7e287abdfd3533df560cfe1f386a50634
|
4
|
+
data.tar.gz: f1d58384039d96679ddea52af6f1e7930cb278a20a312bf76d79f02b14a0e4b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee52e0e025dcea93d0ba676624ebd79b10194c578af1dcf9df2877ca60d96dcdff8d27fa01bfe0b2a959c2a276fe56408bbdf86f7bd713e828e6233ca4d9c9a2
|
7
|
+
data.tar.gz: 589c3649a6976912da03d66ad4cc1f312d0fb2f44aeb2bcefae39ac8138c7ae195f9f046c3e8fc94009180e5f40df97a74f3caff9bb3877dad48d3fcbaa3952a
|
data/.gitignore
CHANGED
data/README.md
CHANGED
@@ -125,6 +125,9 @@ If your box is not using LVM you must set `config.persistent_storage.use_lvm = f
|
|
125
125
|
* [Dimitris Aragiorgis](https://github.com/dimara)
|
126
126
|
* [Symaxion](https://github.com/Symaxion)
|
127
127
|
* [Alex Pyrgiotis](https://github.com/apyrgio)
|
128
|
+
* [qdetweiler](https://github.com/qdetweiler)
|
129
|
+
* [Jacob Christensen](https://github.com/jakex10sen)
|
130
|
+
* [roccotigger](https://github.com/roccotigger)
|
128
131
|
|
129
132
|
## TODO
|
130
133
|
|
@@ -28,7 +28,7 @@ module VagrantPlugins
|
|
28
28
|
# check config to see if the disk should be created
|
29
29
|
return @app.call(env) unless env[:machine].config.persistent_storage.create?
|
30
30
|
|
31
|
-
if File.
|
31
|
+
if File.exist?(File.expand_path(env[:machine].config.persistent_storage.location))
|
32
32
|
@logger.info '** Persistent Storage Volume exists, not creating **'
|
33
33
|
env[:ui].info I18n.t("vagrant_persistent_storage.action.not_creating")
|
34
34
|
@app.call(env)
|
@@ -166,7 +166,7 @@ module VagrantPlugins
|
|
166
166
|
|
167
167
|
machine.ui.info "Using #{machine.config.persistent_storage.location} for persistent storage."
|
168
168
|
|
169
|
-
if ! File.
|
169
|
+
if ! File.exist?@location.to_s and ! @create == "true"
|
170
170
|
errors << I18n.t('vagrant_persistent_storage.config.no_create_and_missing', {
|
171
171
|
:config_key => 'persistent_storage.create',
|
172
172
|
:is_path => location.class.to_s,
|
@@ -17,7 +17,7 @@ module VagrantPlugins
|
|
17
17
|
end
|
18
18
|
|
19
19
|
def remove_prefix(vbox_version)
|
20
|
-
return vbox_version.start_with?("4.3") || vbox_version.start_with?("5.") || vbox_version.start_with?("6.")
|
20
|
+
return vbox_version.start_with?("4.3") || vbox_version.start_with?("5.") || vbox_version.start_with?("6.")|| vbox_version.start_with?("7.")
|
21
21
|
end
|
22
22
|
|
23
23
|
def create_storage(location, size, variant)
|
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.51
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sebastian Kusnier
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-01-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -77,7 +77,7 @@ homepage: https://github.com/kusnier/vagrant-persistent-storage
|
|
77
77
|
licenses:
|
78
78
|
- MIT
|
79
79
|
metadata: {}
|
80
|
-
post_install_message:
|
80
|
+
post_install_message:
|
81
81
|
rdoc_options: []
|
82
82
|
require_paths:
|
83
83
|
- lib
|
@@ -92,8 +92,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
92
92
|
- !ruby/object:Gem::Version
|
93
93
|
version: '0'
|
94
94
|
requirements: []
|
95
|
-
rubygems_version: 3.0.3
|
96
|
-
signing_key:
|
95
|
+
rubygems_version: 3.0.3.1
|
96
|
+
signing_key:
|
97
97
|
specification_version: 4
|
98
98
|
summary: A Vagrant plugin that creates a persistent storage and attaches it to guest
|
99
99
|
machine.
|