From ce539e2e6d671800d9bfe6b9d1f60d8a53c6daa0 Mon Sep 17 00:00:00 2001 From: Boris-Chengbiao Zhou Date: Tue, 2 Apr 2019 02:50:03 +0200 Subject: [PATCH] Add workaround for slow CRNG initialization --- scripts/install-base.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/install-base.sh b/scripts/install-base.sh index a7593e8..2ec6d95 100644 --- a/scripts/install-base.sh +++ b/scripts/install-base.sh @@ -70,6 +70,10 @@ cat <<-EOF > "${TARGET_DIR}${CONFIG_SCRIPT}" /usr/bin/sed -i 's/#UseDNS yes/UseDNS no/' /etc/ssh/sshd_config /usr/bin/systemctl enable sshd.service + # Workaround for https://bugs.archlinux.org/task/58355 which prevents sshd to accept connections after reboot + /usr/bin/pacman -S --noconfirm rng-tools + /usr/bin/systemctl enable rngd + # Vagrant-specific configuration /usr/bin/useradd --password ${PASSWORD} --comment 'Vagrant User' --create-home --user-group vagrant echo 'Defaults env_keep += "SSH_AUTH_SOCK"' > /etc/sudoers.d/10_vagrant