Add support for DEFAULT_BOOT_SOURCE
Change-Id: I1d77d7076f845e2fc47a4132eabe442091a63374
This commit is contained in:
parent
e7590f7026
commit
32f52c19ca
@ -509,6 +509,11 @@
|
||||
# will disable the function in Horizon, direct will allow the user agent to directly
|
||||
# talk to the glance-api.
|
||||
#
|
||||
# [*default_boot_source*]
|
||||
# (optional) A default instance boot source. Allowed values are: "image",
|
||||
# "snapshot", "volume" and "volume_snapshot".
|
||||
# Defaults to undef
|
||||
#
|
||||
# DEPRECATED PARAMETERS
|
||||
#
|
||||
# [*enable_user_pass*]
|
||||
@ -620,6 +625,7 @@ class horizon(
|
||||
$password_validator_help = undef,
|
||||
$customization_module = undef,
|
||||
$horizon_upload_mode = undef,
|
||||
$default_boot_source = undef,
|
||||
# DEPRECATED PARAMETERS
|
||||
$enable_user_pass = undef,
|
||||
) inherits horizon::params {
|
||||
|
@ -0,0 +1,4 @@
|
||||
---
|
||||
features:
|
||||
- |
|
||||
The new ``horizon::default_boot_source`` parameter has been added.
|
@ -1030,3 +1030,10 @@ DISALLOW_IFRAME_EMBED = <%= @disallow_iframe_embed.to_s.capitalize %>
|
||||
<% if @horizon_upload_mode_real -%>
|
||||
HORIZON_IMAGES_UPLOAD_MODE = "<%= @horizon_upload_mode_real %>"
|
||||
<%- end -%>
|
||||
|
||||
# A default instance boot source. Allowed values are: "image", "snapshot",
|
||||
# "volume" and "volume_snapshot"
|
||||
#DEFAULT_BOOT_SOURCE = "image"
|
||||
<% if @default_boot_source -%>
|
||||
DEFAULT_BOOT_SOURCE = "<%= @default_boot_source %>"
|
||||
<%- end -%>
|
||||
|
Loading…
x
Reference in New Issue
Block a user