Skip to content

Commit

Permalink
fix: refactor the is/powervs key
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Bastide <pbastide@us.ibm.com>
  • Loading branch information
prb112 committed Feb 2, 2025
1 parent 007af2d commit d158129
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/create-var-file.sh
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,8 @@ fi
OVERRIDE_PREFIX=$(${IBMCLOUD} pi workspace list 2>&1 | grep $POWERVS_SERVICE_INSTANCE_ID | awk '{print $NF}')
# SKIP_VPC_KEY is conditionally switched
${IBMCLOUD} pi ssh-key create cicd-key-$(date +%s) --key "$(<data/id_rsa.pub)" || true
${IBMCLOUD} is key-create cicd-key @data/id_rsa.pub || true
${IBMCLOUD} pi ssh-key create cicd-key --key "$(<data/id_rsa.pub)" || true
${IBMCLOUD} is key-create cicd-key @data/id_rsa.pub || true
# Set the Machine Type
if [[ "${POWERVS_REGION}" == "wdc06" ]]
Expand Down

0 comments on commit d158129

Please sign in to comment.