Added a condition for 'ilo' hardware type
Added a condition to not to use deploy iso when boot interface 'ilo-virtual-media' is not enabled. Change-Id: I97e20f4723967ee14de0d41d6b99149f12f4d2f1
This commit is contained in:
parent
e003b071f3
commit
7e99dc00a4
@ -1708,7 +1708,8 @@ function enroll_nodes {
|
||||
elif is_deployed_by_ilo; then
|
||||
node_options+=" -i ilo_address=$bmc_address -i ilo_password=$bmc_passwd\
|
||||
-i ilo_username=$bmc_username"
|
||||
if [[ $IRONIC_DEPLOY_DRIVER != "pxe_ilo" ]]; then
|
||||
if [[ $IRONIC_DEPLOY_DRIVER != "pxe_ilo" && \
|
||||
$IRONIC_ENABLED_BOOT_INTERFACES == *"ilo-virtual-media"* ]]; then
|
||||
node_options+=" -i ilo_deploy_iso=$IRONIC_DEPLOY_ISO_ID"
|
||||
fi
|
||||
elif is_deployed_by_drac; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user