From 7a2989ea483a15c2b0b3058a318167abf1229c54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Tamba?= Date: Thu, 21 Jun 2018 19:46:47 +0200 Subject: [PATCH] Add unit ordering in ssh key generation service --- .../etc/systemd/system/scw-generate-ssh-keys.service | 1 + 1 file changed, 1 insertion(+) diff --git a/bases/overlay-systemd/etc/systemd/system/scw-generate-ssh-keys.service b/bases/overlay-systemd/etc/systemd/system/scw-generate-ssh-keys.service index a30eb52..77a7311 100644 --- a/bases/overlay-systemd/etc/systemd/system/scw-generate-ssh-keys.service +++ b/bases/overlay-systemd/etc/systemd/system/scw-generate-ssh-keys.service @@ -9,6 +9,7 @@ ConditionPathExists=|!/etc/ssh/ssh_host_ed25519_key.pub ConditionPathExists=|!/etc/ssh/ssh_host_rsa_key ConditionPathExists=|!/etc/ssh/ssh_host_rsa_key.pub Before=ssh.service +After=network-online.target scw-set-hostname.service [Service] Type=oneshot