Skip to content

Commit

Permalink
set file after all variables set
Browse files Browse the repository at this point in the history
rh-pre-commit.version: 2.2.0
rh-pre-commit.check-secrets: ENABLED

Signed-off-by: Auto User <[email protected]>
  • Loading branch information
Auto User authored and chaitanyaenr committed Jul 23, 2024
1 parent c64807d commit 4e82e0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions node-scenarios/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ checks
# Substitute config with environment vars defined
if [[ "$CLOUD_TYPE" == "vmware" || "$CLOUD_TYPE" == "ibmcloud" ]]; then
export ACTION=${ACTION:="$CLOUD_TYPE-node-reboot"}
envsubst < /root/kraken/scenarios/plugin_node_scenario.yaml.template > /root/kraken/scenarios/node_scenario.yaml

export SCENARIO_TYPE="plugin_scenarios"

# IBM doesnt have verify session
Expand All @@ -24,7 +24,7 @@ if [[ "$CLOUD_TYPE" == "vmware" || "$CLOUD_TYPE" == "ibmcloud" ]]; then
else
export VERIFY_SESSION=""
fi

envsubst < /home/krkn/kraken/scenarios/plugin_node_scenario.yaml.template > /home/krkn/kraken/scenarios/node_scenario.yaml


else
Expand Down

0 comments on commit 4e82e0c

Please sign in to comment.