kytoon 1.3.6 → 1.3.7

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.6
1
+ 1.3.7
@@ -325,7 +325,14 @@ if [ -n "#{create_cow}" ]; then
325
325
  --preserve-data \
326
326
  || { echo "failed to virt-clone"; exit 1; }
327
327
 
328
- #{sudo} qemu-img create -f qcow2 -o backing_file=#{original_disk_path} "#{disk_path}" || { \
328
+
329
+ img_fmt=$(#{sudo} qemu-img info #{original_disk_path} \
330
+ | grep '^file format:' \
331
+ | cut -f2 -d : \
332
+ | tr -d ' ')
333
+
334
+
335
+ #{sudo} qemu-img create -f qcow2 -o backing_file=#{original_disk_path},backing_fmt=$img_fmt "#{disk_path}" || { \
329
336
  echo 'Failed to create a copy-on-write image of #{original_disk_path }'; exit 1;
330
337
  }
331
338
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kytoon
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.6
4
+ version: 1.3.7
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-04-28 00:00:00.000000000 Z
12
+ date: 2013-05-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rdoc
@@ -289,7 +289,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
289
289
  version: '0'
290
290
  segments:
291
291
  - 0
292
- hash: 2902312835877875808
292
+ hash: 4407600215820065629
293
293
  required_rubygems_version: !ruby/object:Gem::Requirement
294
294
  none: false
295
295
  requirements: