diff --git a/docs/upgrades/v1.25.2-to-v1.25.3.md b/docs/upgrades/v1.25.2-to-v1.25.3.md index 232ffef71..eded0b8ed 100644 --- a/docs/upgrades/v1.25.2-to-v1.25.3.md +++ b/docs/upgrades/v1.25.2-to-v1.25.3.md @@ -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 {}