summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Rebischke <chris@nullday.de>2019-09-10 22:22:12 +0200
committerChristian Rebischke <chris@nullday.de>2019-09-10 22:22:12 +0200
commit28d9964d527b8510699a75baba4de610606cdd2f (patch)
tree5f4cd79231aa2d35d4092594f446bcad5b7b97e3
parentac4c9598b16769d52ddb3d68cc06b835f95e9b0e (diff)
Fix #41: ensure pacman-init finishes before sshd1.2.2
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>
-rw-r--r--http/install-chroot.sh1
1 files changed, 1 insertions, 0 deletions
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]