Skip to content

Commit

Permalink
fix: update v1.25.2 to v1.25.3 upgrade guide to support both bsd and …
Browse files Browse the repository at this point in the history
…gnu sed
  • Loading branch information
omissis committed Jun 29, 2023
1 parent 191a00e commit afc0b0f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/upgrades/v1.25.2-to-v1.25.3.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ fi
cp -R "${HOME}/.furyctl/${CLUSTERNAME}" "${HOME}/.furyctl/${CLUSTERNAME}.${NOW}"

echo ">>>> Update the furyconfig.yaml file setting the new fury version"
sed -i 's/distributionVersion\:\ v1\.25\.2/distributionVersion\:\ v1\.25\.3/g' "${FURYCONFIG}"
sed 's/distributionVersion\:\ v1\.25\.2/distributionVersion\:\ v1\.25\.3/g' "${FURYCONFIG}" > "${FURYCONFIG}.tmp"
mv "${FURYCONFIG}.tmp" "${FURYCONFIG}"

echo ">>>> Delete terraform folders"
find "${HOME}/.furyctl/${CLUSTERNAME}" -name .terraform -type d | xargs -I {} rm -rf {}
Expand Down

0 comments on commit afc0b0f

Please sign in to comment.