Skip to content

Commit 28d9964

Browse files
author
Christian Rebischke
committed
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>
1 parent ac4c959 commit 28d9964

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

http/install-chroot.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ cat <<EOF > /etc/systemd/system/pacman-init.service
5353
Description=Initializes Pacman keyring
5454
Wants=haveged.service
5555
After=haveged.service
56+
Before=sshd.service
5657
ConditionFirstBoot=yes
5758
5859
[Service]

0 commit comments

Comments
 (0)