Skip to content

Commit

Permalink
ztp: be explicit about pull_secret location
Browse files Browse the repository at this point in the history
  • Loading branch information
karmab committed Oct 31, 2023
1 parent acbe516 commit 48acbe9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ztp/assisted/assisted-service.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ DISCONNECTED_ARGS="-P disconnected_url=${REGISTRY_NAME}:$LOCAL_PORT"
DISCONNECTED_ARGS=""
{% endif %}

EXTRA_ARGS="{{ ' -P assisted_disable_validations=true' if ztp_disable_validations|default(False) else '' }}{{ ' -P assisted_converged_flow=true' if ztp_converged_flow|default(False) else '' }}"
EXTRA_ARGS="{{ ' -P pull_secret=/root/openshift_pull.json -P assisted_disable_validations=true' if ztp_disable_validations|default(False) else '' }}{{ ' -P assisted_converged_flow=true' if ztp_converged_flow|default(False) else '' }}"

kcli create app openshift $APP $DISCONNECTED_ARGS $SOURCE_ARGS $EXTRA_ARGS
sleep 120

0 comments on commit 48acbe9

Please sign in to comment.