Add config-drive in parameter_defaults

We added support to explicitly request config-drive
for BMC and Undercloud type instances in [1]. Default
is false.

Adding similiar option in parameter_defaults will ease overriding
environments/base.yaml in ovb-manage role generate_template.yml[2].

[1] 306ec29aec
[2] https://github.com/rdo-infra/review.rdoproject.org-config/blob/master/roles/ovb-manage/tasks/generate_template.yml#L13

Change-Id: I7bbdc80684147c72561c0434b3217e41bd2a0995
This commit is contained in:
Sandeep Yadav 2021-05-25 16:22:25 +05:30
parent 306ec29aec
commit b58913d865
2 changed files with 7 additions and 0 deletions

View File

@ -33,6 +33,10 @@ parameter_defaults:
# Type: string
bmc_prefix: bmc
# If True, enable config drive on the server.
# Type: boolean
config_drive: False
# An external network from which floating ips can be provisioned
# Type: string
external_net: external

View File

@ -3,6 +3,9 @@ environments:
title: Base Configuration Options
description: Basic configuration options needed for all OVB environments
files:
templates/bmc.yaml:
parameters:
- config_drive
templates/quintupleo.yaml:
parameters:
- bmc_flavor