vagrant-persistent-storage 0.0.24 → 0.0.25
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -1
- data/lib/vagrant-persistent-storage/manage_storage.rb +1 -1
- 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: 21405e2eb2912b0642f94759643201d622d115ab
|
4
|
+
data.tar.gz: c04c8ddbcd85e6559930896b7ab9e9fcfb33b765
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 979f73c50dcd96e9494e91f25a583f06828d411deb74ddc7a9bd8042fe1839b0c17c815cc8f136d6a54207efb4e11ef33fccd180fa3ee7c6b3f9dc3a055fdd28
|
7
|
+
data.tar.gz: 300deb039566490ec45e874a9b902f6f39f7b739665fd127b294033ed24ac61c89166af400be7663784578993e3b489b171bbaf4bb6bc00aaf4d6ce2a8f12a80
|
data/README.md
CHANGED
@@ -33,7 +33,10 @@ config.persistent_storage.mountpoint = '/mnt/xfs'
|
|
33
33
|
config.persistent_storage.mountoptions = ['defaults', 'prjquota']
|
34
34
|
```
|
35
35
|
|
36
|
-
Device defaults to
|
36
|
+
Device defaults to `/dev/sdb`. For boxes with multiple disks, make sure you increment the drive:
|
37
|
+
```
|
38
|
+
config.persistent_storage.diskdevice = '/dev/sdc'
|
39
|
+
```
|
37
40
|
|
38
41
|
Every `vagrant up` will attach this file as hard disk to the guest machine.
|
39
42
|
An `vagrant destroy` will detach the storage to avoid deletion of the storage by vagrant.
|
@@ -78,6 +81,7 @@ If your box are not using LVM you must set `config.persistent_storage.use_lvm =
|
|
78
81
|
* [Lars Hupfeldt Nielsen](https://github.com/lhupfeldt)
|
79
82
|
* [Chen Yu Pao](https://github.com/windperson)
|
80
83
|
* [Kris Reese](https://github.com/ktreese)
|
84
|
+
* [Henry N.](https://github.com/HenryNe)
|
81
85
|
|
82
86
|
## TODO
|
83
87
|
|
@@ -58,7 +58,7 @@ module VagrantPlugins
|
|
58
58
|
disk_operations_template = ERB.new <<-EOF
|
59
59
|
#!/bin/bash
|
60
60
|
# fdisk the disk if it's not a block device already:
|
61
|
-
[
|
61
|
+
re='[0-9][.][0-9.]*[0-9.]*'; [[ $(sfdisk --version) =~ $re ]] && version="${BASH_REMATCH}"
|
62
62
|
if ! awk -v ver="$version" 'BEGIN { if (ver < 2.26 ) exit 1; }'; then
|
63
63
|
[ -b #{disk_dev}1 ] || echo 0,,8e | sfdisk #{disk_dev}
|
64
64
|
else
|
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.25
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sebastian Kusnier
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-03-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|