vagrant-mutate 0.3.1 → 0.3.2
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 +7 -0
- data/CHANGELOG.md +4 -0
- data/lib/vagrant-mutate/converter/converter.rb +1 -1
- data/lib/vagrant-mutate/errors.rb +4 -0
- data/lib/vagrant-mutate/qemu.rb +1 -1
- data/lib/vagrant-mutate/version.rb +1 -1
- data/locales/en.yml +3 -1
- data/test/expected_output/virtualbox/kvm/box-disk1.img +0 -0
- data/test/expected_output/virtualbox/libvirt/box.img +0 -0
- metadata +12 -18
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 54e5e005e1846633e4c584acf141a277121c6673
|
4
|
+
data.tar.gz: 9bdc4f4c11effa683d6e245671d55a34951ec04b
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: ba0c34d684ae47140c2f4723204ed662a8958fbdf1aa2fab97eb842e05f9f5e751ca32c676f7778d2175eaf805001579261d702e2ef5e0422f6611edaaf18366
|
7
|
+
data.tar.gz: b2a019365f16ee2ebb92362d1df3a2fdabd39c66fb647a90d9ee1a714a099869b99c7eb5772928e517980b227971658738a441537b4c0caa6c940aa272868c5f
|
data/CHANGELOG.md
CHANGED
@@ -96,7 +96,7 @@ module VagrantMutate
|
|
96
96
|
# S for sparse file
|
97
97
|
qemu_options = '-p -S 16k'
|
98
98
|
|
99
|
-
command = "qemu-img convert #{qemu_options} -O #{output_format} #{input_file} #{output_file}"
|
99
|
+
command = "qemu-img convert #{qemu_options} -O #{output_format} -o compat=1.1 #{input_file} #{output_file}"
|
100
100
|
@logger.info "Running #{command}"
|
101
101
|
unless system(command)
|
102
102
|
raise Errors::WriteDiskFailed, :error_message => "qemu-img exited with status #{$?.exitstatus}"
|
data/lib/vagrant-mutate/qemu.rb
CHANGED
data/locales/en.yml
CHANGED
@@ -8,7 +8,9 @@ en:
|
|
8
8
|
provider_not_supported: |-
|
9
9
|
Vagrant-mutate does not support %{provider} for %{direction}
|
10
10
|
qemu_not_found: |-
|
11
|
-
|
11
|
+
QEMU was not found in your path
|
12
|
+
qemu_img_not_found: |-
|
13
|
+
qemu-img was not found in your path
|
12
14
|
box_not_found: |-
|
13
15
|
The box %{box} was not found
|
14
16
|
too_many_boxes_found: |-
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,46 +1,41 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-mutate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
5
|
-
prerelease:
|
4
|
+
version: 0.3.2
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Brian Pitts
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2015-03-04 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: bundler
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- - ~>
|
17
|
+
- - "~>"
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: '1.3'
|
22
20
|
type: :development
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- - ~>
|
24
|
+
- - "~>"
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: '1.3'
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: rake
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - ">="
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: '0'
|
38
34
|
type: :development
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - ">="
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: '0'
|
46
41
|
description: Convert vagrant boxes to work with different providers
|
@@ -50,7 +45,7 @@ executables: []
|
|
50
45
|
extensions: []
|
51
46
|
extra_rdoc_files: []
|
52
47
|
files:
|
53
|
-
- .gitignore
|
48
|
+
- ".gitignore"
|
54
49
|
- CHANGELOG.md
|
55
50
|
- Gemfile
|
56
51
|
- LICENSE.txt
|
@@ -93,27 +88,26 @@ files:
|
|
93
88
|
homepage: ''
|
94
89
|
licenses:
|
95
90
|
- MIT
|
91
|
+
metadata: {}
|
96
92
|
post_install_message:
|
97
93
|
rdoc_options: []
|
98
94
|
require_paths:
|
99
95
|
- lib
|
100
96
|
required_ruby_version: !ruby/object:Gem::Requirement
|
101
|
-
none: false
|
102
97
|
requirements:
|
103
|
-
- -
|
98
|
+
- - ">="
|
104
99
|
- !ruby/object:Gem::Version
|
105
100
|
version: '0'
|
106
101
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
107
|
-
none: false
|
108
102
|
requirements:
|
109
|
-
- -
|
103
|
+
- - ">="
|
110
104
|
- !ruby/object:Gem::Version
|
111
105
|
version: '0'
|
112
106
|
requirements: []
|
113
107
|
rubyforge_project:
|
114
|
-
rubygems_version:
|
108
|
+
rubygems_version: 2.2.0
|
115
109
|
signing_key:
|
116
|
-
specification_version:
|
110
|
+
specification_version: 4
|
117
111
|
summary: Convert vagrant boxes to work with different providers
|
118
112
|
test_files:
|
119
113
|
- test/expected_output/kvm/libvirt/Vagrantfile
|