Skip to content

Commit

Permalink
Fix #41: ensure pacman-init finishes before sshd
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Christian Rebischke committed Sep 10, 2019
1 parent ac4c959 commit 28d9964
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions http/install-chroot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 28d9964

Please sign in to comment.