veewee-to-packer 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -194,6 +194,11 @@ module VeeweeToPacker
194
194
  "modifyvm", "{{.Name}}", "--cpus", input.delete(:cpu_count)]
195
195
  end
196
196
 
197
+ if input[:video_memory_size]
198
+ builder["vboxmanage"] << [
199
+ "modifyvm", "{{.Name}}", "--vram", input.delete(:video_memory_size)]
200
+ end
201
+
197
202
  # Taken directly from Veewee, all the flags that VirtualBox definitions
198
203
  # can have.
199
204
  vm_flags = %w{pagefusion acpi ioapic pae hpet hwvirtex hwvirtexcl nestedpaging largepages vtxvpid synthxcpu rtcuseutc}
@@ -224,6 +224,7 @@ module VeeweeToPacker
224
224
  input.delete(:pae)
225
225
  input.delete(:ssh_host_port)
226
226
  input.delete(:ssh_key)
227
+ input.delete(:video_memory_size)
227
228
  input.delete(:virtualbox)
228
229
 
229
230
  if input.length > 0
@@ -1,3 +1,3 @@
1
1
  module VeeweeToPacker
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: veewee-to-packer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
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-07-16 00:00:00.000000000 Z
12
+ date: 2013-07-19 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Converts Veewee templates to Packer templates.
15
15
  email: