qemu-toolkit 0.5.1 → 0.5.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.
- data/lib/qemu-toolkit/vm.rb +5 -2
- metadata +3 -2
data/lib/qemu-toolkit/vm.rb
CHANGED
|
@@ -266,8 +266,11 @@ module QemuToolkit
|
|
|
266
266
|
end
|
|
267
267
|
|
|
268
268
|
@disks.each do |path|
|
|
269
|
-
|
|
270
|
-
|
|
269
|
+
params = { file: path, if: 'virtio', index: disk_index, media: "disk" }
|
|
270
|
+
params[:boot] = 'on' if disk_index == 0
|
|
271
|
+
|
|
272
|
+
cmd << "-drive " + parameter_list(params)
|
|
273
|
+
|
|
271
274
|
disk_index += 1
|
|
272
275
|
end
|
|
273
276
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: qemu-toolkit
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.2
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2013-05-
|
|
12
|
+
date: 2013-05-23 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: clamp
|
|
@@ -97,3 +97,4 @@ signing_key:
|
|
|
97
97
|
specification_version: 3
|
|
98
98
|
summary: Manages QEMU kvm virtual machines on Illumos hosts.
|
|
99
99
|
test_files: []
|
|
100
|
+
has_rdoc:
|