From 35b41f9cbfd4aee0c19ab8d196cd1bf92eb34934 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Tue, 7 Jan 2020 20:18:39 +0000 Subject: [PATCH] systemd: Add After=network-online.target From https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/ "Cut the crap! How do I make sure that my service starts after the network is really online?" We were just missing this one. Came out of a discussion about testing for network availability in https://github.com/coreos/coreos-installer/pull/127 --- systemd/coreos-installer.service | 1 + 1 file changed, 1 insertion(+) diff --git a/systemd/coreos-installer.service b/systemd/coreos-installer.service index a0293888d..bfa0560ce 100644 --- a/systemd/coreos-installer.service +++ b/systemd/coreos-installer.service @@ -1,6 +1,7 @@ [Unit] Description=CoreOS Installer Before=coreos-installer.target +After=network-online.target Wants=network-online.target ConditionKernelCommandLine=coreos.inst.install_dev