vagrant-disksize 0.1.0 → 0.1.1
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/README.md +30 -15
- data/lib/vagrant/disksize/config.rb +1 -0
- data/lib/vagrant/disksize/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: 61d5db584b6795b573367b944bdc10de23ec4e0e
|
4
|
+
data.tar.gz: 9cf2dbcd7be8b19a7c53015d13b9d1dcc1bb02a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b97cf15cc10839ab1581b8226ddeed7106870a8796cff8d68d94002ad327399187f09714c9967270b0184b278b00d944fca86a6228e280e3c288df7518b1c60a
|
7
|
+
data.tar.gz: a33eb361fa69f79f2531b08ac1361bee7b25bae91e3d58149c5a2f8756389f6fe488a05e58fc04785cece47e3d02d5f6e75ed779f92cf3d521145e8a315ada33
|
data/README.md
CHANGED
@@ -1,39 +1,54 @@
|
|
1
|
-
#
|
1
|
+
# vagrant-disksize
|
2
2
|
|
3
|
-
|
3
|
+
A Vagrant plugin to resize disks in VirtualBox
|
4
4
|
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
6
5
|
|
7
6
|
## Installation
|
8
7
|
|
9
|
-
|
8
|
+
|
9
|
+
```shell
|
10
|
+
vagrant plugin install vagrant-disksize
|
11
|
+
```
|
12
|
+
|
13
|
+
## Usage
|
14
|
+
|
15
|
+
In your Vagrantfile
|
10
16
|
|
11
17
|
```ruby
|
12
|
-
|
18
|
+
config.disksize.size = '50GB'
|
13
19
|
```
|
14
20
|
|
15
|
-
|
21
|
+
## Limitations
|
16
22
|
|
17
|
-
|
23
|
+
At present only the first disk will be resized. That seems to be OK for
|
24
|
+
typical boxes such as the official Ubuntu images for Xenial, but there may
|
25
|
+
well be other configurations where the first disk found isn't the main HDD.
|
18
26
|
|
19
|
-
|
27
|
+
The plugin only works with VirtualBox but it will issue an error message
|
28
|
+
and then disable itself if you try to use it with another provider.
|
20
29
|
|
21
|
-
|
30
|
+
Disks can only be increased in size. There is no facility to shrink a disk.
|
22
31
|
|
23
|
-
|
32
|
+
Depending on the guest, you may need to resize the partition and the filesystem
|
33
|
+
from within the guest. At present the plugin only resizes the underlying disk.
|
24
34
|
|
25
|
-
|
35
|
+
This hasn't been tested on a wide variety of versions of Vagrant or VirtualBox.
|
36
|
+
It works for, at least, Vagrant 1.8.5 and VirtualBox 5.1.x, but any
|
37
|
+
feedback about other versions, particularly older ones, would be much appreciated.
|
26
38
|
|
27
39
|
## Development
|
28
40
|
|
29
|
-
After checking out the repo, run `bin/setup` to install dependencies.
|
41
|
+
After checking out the repo, run `bin/setup` to install dependencies.
|
42
|
+
You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
30
43
|
|
31
|
-
To install this gem onto your local machine, run `bundle exec rake install`.
|
44
|
+
To install this gem onto your local machine, run `bundle exec rake install`.
|
45
|
+
To release a new version, update the version number in `version.rb`, and then
|
46
|
+
run `bundle exec rake release`, which will create a git tag for the version,
|
47
|
+
push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
32
48
|
|
33
49
|
## Contributing
|
34
50
|
|
35
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
36
|
-
|
51
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/sprotheroe/vagrant-disksize.
|
37
52
|
|
38
53
|
## License
|
39
54
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-disksize
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Simon Protheroe
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-09-
|
11
|
+
date: 2016-09-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|