Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
install: Don't require the network by default
The `Wants=network-online.target` predates the osmet work which enabled the now default fully offline install flow. It also predates the addition of fetch retries. So even in an online flow, now that we retry HTTP requests indefinitely, we don't really need this. Let's follow best practices and stop pulling in `network-online.target`. Still keep it as an `After` though; *if* something pulls in `network-online.target`, then we might as well be nicer and start our retries after we know we're online. Also add `network.target` so that if `network-online.target` *isn't* pulled in, we still have a reasonable lower bound on when we start retrying. Related: coreos/fedora-coreos-config#1088 Related: coreos#565 (comment) Related: https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/ Closes: https://github.com/coreos/coreos-installer/issues/1334
- Loading branch information