diff --git a/templates/bmc.yaml b/templates/bmc.yaml index d2bb34f..6b1fbbb 100644 --- a/templates/bmc.yaml +++ b/templates/bmc.yaml @@ -93,6 +93,11 @@ parameters: type: number description: Number of baremetal nodes to deploy + config_drive: + type: boolean + default: false + description: If True, enable config drive on the server. + resources: bmc_port: type: OS::OVB::BMCPort @@ -132,6 +137,7 @@ resources: key_name: {get_param: key_name} networks: {get_attr: [bmc_port, port]} name: {get_param: bmc_prefix} + config_drive: {get_param: config_drive} user_data_format: RAW user_data: str_replace: diff --git a/templates/undercloud.yaml b/templates/undercloud.yaml index 6394d8c..04ad243 100644 --- a/templates/undercloud.yaml +++ b/templates/undercloud.yaml @@ -19,6 +19,10 @@ parameters: type: json external_net: type: string + config_drive: + type: boolean + default: false + description: If True, enable config drive on the server. resources: undercloud_ports: @@ -38,6 +42,7 @@ resources: name: {get_param: undercloud_name} user_data_format: {get_param: undercloud_user_data_format} user_data: {get_param: undercloud_user_data} + config_drive: {get_param: config_drive} undercloud_floating_ip: type: OS::OVB::UndercloudFloating