We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 497adc7 commit 21fa469Copy full SHA for 21fa469
lib/fog/libvirt/models/compute/server.rb
@@ -30,6 +30,7 @@ class Server < Fog::Compute::Server
30
attribute :cpu
31
attribute :hugepages
32
attribute :guest_agent
33
+ attribute :video
34
attribute :virtio_rng
35
36
attribute :state
@@ -413,7 +414,7 @@ def to_xml
413
414
graphics.passwd = display[:password] if display[:password] && !display[:password].empty?
415
416
xml.video do
- xml.model(:type => "cirrus", :vram => 9216, :heads => 1)
417
+ xml.model(video)
418
end
419
420
@@ -532,6 +533,7 @@ def defaults
532
533
:cpu => {},
534
:hugepages => false,
535
:guest_agent => true,
536
+ :video => {:type => "cirrus", :vram => 9216, :heads => 1},
537
:virtio_rng => {},
538
}
539
0 commit comments