Add --retry-connrefused to dracut curl commands

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
Jonathon Anderson
2025-03-22 00:37:34 -06:00
parent be322a8062
commit 03fb9bf074
2 changed files with 2 additions and 1 deletions

View File

@@ -9,6 +9,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
### Added
- Added `wwctl overlay import --overwrite` to overwrite existing overlay file.
- Add `--retry-connrefused` to dracut curl commands.
### Fixed

View File

@@ -15,7 +15,7 @@ do
fi
(
curl --location --silent --get ${localport} \
--retry 60 --retry-delay 1 \
--retry 60 --retry-connrefused --retry-delay 1 \
--data-urlencode "assetkey=${wwinit_assetkey}" \
--data-urlencode "uuid=${wwinit_uuid}" \
--data-urlencode "stage=${stage}" \