lib/vagrant-ovirt3/config.rb in vagrant-ovirt3-1.2.0 vs lib/vagrant-ovirt3/config.rb in vagrant-ovirt3-1.3.0

- old
+ new

@@ -13,12 +13,14 @@ # Domain specific settings used while creating new machine. attr_accessor :memory attr_accessor :cpus attr_accessor :template + attr_accessor :template_version attr_accessor :console attr_accessor :disk_size + attr_accessor :user_data # TODO: change 'ca_cert_store' to 'ca_cert' once rbovirt PR #55 merges. attr_accessor :ca_no_verify attr_accessor :ca_cert_store attr_accessor :ca_cert_file @@ -33,12 +35,14 @@ # Domain specific settings. @memory = UNSET_VALUE @cpus = UNSET_VALUE @template = UNSET_VALUE + @template_version = UNSET_VALUE @console = UNSET_VALUE @disk_size = UNSET_VALUE + @user_data = UNSET_VALUE @ca_no_verify = UNSET_VALUE @ca_cert_store = UNSET_VALUE @ca_cert_file = UNSET_VALUE end @@ -53,11 +57,13 @@ # Domain specific settings. @memory = 512 if @memory == UNSET_VALUE @cpus = 1 if @cpus == UNSET_VALUE @template = 'Blank' if @template == UNSET_VALUE + @template_version = nil if @template_version == UNSET_VALUE @console = 'spice' if @console == UNSET_VALUE @disk_size = nil if @disk_size == UNSET_VALUE + @user_data = nil if @user_data == UNSET_VALUE @ca_no_verify = false if @ca_no_verify == UNSET_VALUE @ca_cert_store = nil if @ca_cert_store == UNSET_VALUE @ca_cert_file = nil if @ca_cert_file == UNSET_VALUE end