diff --git a/bin/quickstack_defaults.rb b/bin/quickstack_defaults.rb index ef638753..35ec62e5 100755 --- a/bin/quickstack_defaults.rb +++ b/bin/quickstack_defaults.rb @@ -260,10 +260,15 @@ def smart_class_params_set(params) default_value = [].to_json end + if parameter_type == 'hash' && default_value.empty? + default_value = {}.to_json + end + data = { 'id' => param['id'], 'smart_class_parameter' => { 'default_value' => default_value, - 'parameter_type' => parameter_type + 'parameter_type' => parameter_type, + 'override' => true, } } @foreman.smart_params.update(data) diff --git a/config/quickstack.yaml.erb b/config/quickstack.yaml.erb index f2881307..c94fc829 100644 --- a/config/quickstack.yaml.erb +++ b/config/quickstack.yaml.erb @@ -46,12 +46,12 @@ cinder_nfs_mount_options: '' cinder_dell_sc_san_ip: 172.23.8.101 cinder_dell_sc_san_login: Admin cinder_dell_sc_san_password: <%= passwd_auto %> -cinder_dell_sc_iscsi_ip_address:192.168.0.20 -cinder_dell_sc_iscsi_port:3260 -cinder_dell_sc_ssn:64702 -cinder_dell_sc_api_port:3033 -cinder_dell_sc_server_folder:server -cinder_dell_sc_volume_folder:volume +cinder_dell_sc_iscsi_ip_address: 192.168.0.20 +cinder_dell_sc_iscsi_port: 3260 +cinder_dell_sc_ssn: 64702 +cinder_dell_sc_api_port: 3033 +cinder_dell_sc_server_folder: server +cinder_dell_sc_volume_folder: volume cinder_san_ip: 192.168.124.11 cinder_san_login: grpadmin cinder_san_password: <%= passwd_auto %>