vagrant-kvm 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ # 0.1.2 (May 7, 2013)
2
+
3
+ * Merge pull request #2 add "/usr/bin/kvm" to search options
4
+ * Merge pull request #3 fix numbered list in README.md
5
+ * Merge pull request #7 Powered off state is :shutoff not :poweroff
6
+ * Fix issue #8 Can't create VMs on Ubuntu 12.10 - spicevmc not supported
7
+ * Fix issue #9 Same spice issue
8
+
1
9
  # 0.1.1 (April 4, 2013)
2
10
 
3
11
  * Debian compatibility fix (thanks mfournier).
data/README.md CHANGED
@@ -74,6 +74,7 @@ Vagrant providers each require a custom provider-specific box format.
74
74
  This folder shows the example contents of a box for the `kvm` provider.
75
75
 
76
76
  There are two box formats for the `kvm` provider:
77
+
77
78
  1. VirtualBox box - you need to change the provider to `kvm` in the
78
79
  `metadata.json` file, the box will be converted on the fly.
79
80
  2. "Native" box - you need a box.xml file (libvirt domain format) and a raw
@@ -63,7 +63,7 @@ module VagrantPlugins
63
63
  b3.use Resume
64
64
  end
65
65
 
66
- b2.use Call, GracefulHalt, :poweroff, :running do |env2, b3|
66
+ b2.use Call, GracefulHalt, :shutoff, :running do |env2, b3|
67
67
  if !env2[:result]
68
68
  b3.use ForcedHalt
69
69
  end
@@ -97,7 +97,7 @@ module VagrantPlugins
97
97
  def as_libvirt
98
98
  # RedHat and Debian-based systems have different executable names
99
99
  # depending on version/architectures
100
- qemu_bin = [ '/usr/bin/qemu-kvm' ]
100
+ qemu_bin = [ '/usr/bin/qemu-kvm', '/usr/bin/kvm' ]
101
101
  qemu_bin << '/usr/bin/qemu-system-x86_64' if @arch.match(/64$/)
102
102
  qemu_bin << '/usr/bin/qemu-system-i386' if @arch.match(/^i.86$/)
103
103
 
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module ProviderKvm
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
@@ -44,12 +44,7 @@
44
44
  <console type='pty'>
45
45
  <target type='serial' port='0'/>
46
46
  </console>
47
- <channel type='spicevmc'>
48
- <target type='virtio' name='com.redhat.spice.0'/>
49
- <address type='virtio-serial' controller='0' bus='0' port='1'/>
50
- </channel>
51
47
  <input type='mouse' bus='ps2'/>
52
- <graphics type='spice' autoport='yes'/>
53
48
  <sound model='ich6'>
54
49
  <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
55
50
  </sound>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-kvm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.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-04-04 00:00:00.000000000 Z
12
+ date: 2013-05-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri