Add the ability to pass devuser password to DIB
This can be useful to debug, when ssh is not available, but a console can be gained through ILO. Change-Id: Id1861792a7ca0b3fb87f0a06f96d4d0667f55615
This commit is contained in:
parent
988c4d7e74
commit
2125a34b3e
|
@ -29,7 +29,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
|
||||
|
||||
|
|
|
@ -19,6 +19,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
|
||||
|
|
Loading…
Reference in New Issue