forked from coreos/fedora-coreos-config
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
35coreos-live/coreos-livepxe-rootfs: retry fetching rootfs forever
We don't know how long it will take for networking to come up, so let's match Ignition's semantic of retrying to fetch remote resources forever. `curl` doesn't natively have support for this, so wrap it in a `while` loop. This also works around the fact that el8's `curl` doesn't support `--retry-all-errors`. This was previously added in coreos#929. (cherry picked from commit d2776ed)
- Loading branch information
Showing
1 changed file
with
13 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters