mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
sound_type set to nil if UNSET_VALUE.
This commit is contained in:
parent
2f091b1cdc
commit
1248dc43e9
@ -586,7 +586,7 @@ module VagrantPlugins
|
||||
@graphics_ip = '127.0.0.1' if @graphics_ip == UNSET_VALUE
|
||||
@video_type = 'cirrus' if @video_type == UNSET_VALUE
|
||||
@video_vram = 9216 if @video_vram == UNSET_VALUE
|
||||
@sound_type = 'ich6' if @sound_type == UNSET_VALUE
|
||||
@sound_type = nil if @sound_type == UNSET_VALUE
|
||||
@keymap = 'en-us' if @keymap == UNSET_VALUE
|
||||
@kvm_hidden = false if @kvm_hidden == UNSET_VALUE
|
||||
@tpm_model = 'tpm-tis' if @tpm_model == UNSET_VALUE
|
||||
|
@ -131,7 +131,8 @@
|
||||
<% @inputs.each do |input| %>
|
||||
<input type='<%= input[:type] %>' bus='<%= input[:bus] %>'/>
|
||||
<% end %>
|
||||
<% if @sound_type != 'none' %>
|
||||
|
||||
<% if !@sound_type.nil? %>
|
||||
<%# Sound device-%>
|
||||
<sound model='<%= @sound_type %>'>
|
||||
</sound>
|
||||
|
Loading…
Reference in New Issue
Block a user