Merge pull request #1833 from anderbubble/dracut-curl-retry-connrefused
Add --retry-connrefused to dracut curl commands
This commit is contained in:
@@ -15,6 +15,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|||||||
- Added net.ifnames=1 to default kernel argument list. #1820
|
- Added net.ifnames=1 to default kernel argument list. #1820
|
||||||
- Add a new OpenAPI v3 REST API to warewulfd at /api. #1588
|
- Add a new OpenAPI v3 REST API to warewulfd at /api. #1588
|
||||||
- New sos plugin in `warewulf-sos` subpackage. #1822
|
- New sos plugin in `warewulf-sos` subpackage. #1822
|
||||||
|
- Add `--retry-connrefused` to dracut curl commands. #1800
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ do
|
|||||||
fi
|
fi
|
||||||
(
|
(
|
||||||
curl --location --silent --get ${localport} \
|
curl --location --silent --get ${localport} \
|
||||||
--retry 60 --retry-delay 1 \
|
--retry 60 --retry-connrefused --retry-delay 1 \
|
||||||
--data-urlencode "assetkey=${wwinit_assetkey}" \
|
--data-urlencode "assetkey=${wwinit_assetkey}" \
|
||||||
--data-urlencode "uuid=${wwinit_uuid}" \
|
--data-urlencode "uuid=${wwinit_uuid}" \
|
||||||
--data-urlencode "stage=${stage}" \
|
--data-urlencode "stage=${stage}" \
|
||||||
|
|||||||
Reference in New Issue
Block a user