From 28d9964d527b8510699a75baba4de610606cdd2f Mon Sep 17 00:00:00 2001 From: Christian Rebischke <chris@nullday.de> Date: Tue, 10 Sep 2019 22:22:12 +0200 Subject: [PATCH] Fix #41: ensure pacman-init finishes before sshd This is supposed to fix #41. Vagrant is able to provision boxes, therefore we need to make sure that the box has finished all Pacman keyring initialization before Vagrant is able to login via SSH and provision the box. Signed-off-by: Christian Rebischke <chris@nullday.de> --- http/install-chroot.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/http/install-chroot.sh b/http/install-chroot.sh index 8676ce7..cd15407 100644 --- a/http/install-chroot.sh +++ b/http/install-chroot.sh @@ -53,6 +53,7 @@ cat <<EOF > /etc/systemd/system/pacman-init.service Description=Initializes Pacman keyring Wants=haveged.service After=haveged.service +Before=sshd.service ConditionFirstBoot=yes [Service] -- GitLab