Merge "Add the ability to pass devuser password to DIB"

This commit is contained in:
Jenkins 2016-10-03 12:07:58 +00:00 committed by Gerrit Code Review
commit 7e4bee3724
2 changed files with 4 additions and 1 deletions

View File

@ -30,7 +30,7 @@ class infracloud::bifrost (
$ipv4_gateway = '15.184.64.1',
$ipv4_nameserver = '8.8.8.8',
$ipv4_subnet_mask = '255.255.224.0',
$dib_dev_user_password = undef,
) {
include ::infracloud::params

View File

@ -20,6 +20,9 @@ ironic_db_password: <%= @ironic_db_password %>
dib_env_vars:
DIB_INSTALLTYPE_simple_init: repo
DIB_DEV_USER_USERNAME: "baremetal"
<% if @dib_dev_user_password != nil %>
DIB_DEV_USER_PASSWORD: "<=% @dib_dev_user_password -%>"
<% end %>
DIB_DEV_USER_PWDLESS_SUDO: "Y"
ELEMENTS_PATH: "/opt/stack/elements:/opt/project-config/nodepool/elements"
extra_kernel_options: intel_iommu=off