Merge pull request #5690 from ThomasWaldmann/avoid-grub-install-issue-1.1

avoid grub-install asking interactively for device
This commit is contained in:
TW 2021-02-14 22:12:41 +01:00 committed by GitHub
commit 2428d9285d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

2
Vagrantfile vendored
View file

@ -11,6 +11,8 @@ def packages_debianoid(user)
return <<-EOF
export DEBIAN_FRONTEND=noninteractive
apt-get update
# in case we get a grub update, it must not interactively ask for boot device:
echo "set grub-pc/install_devices /dev/sda" | debconf-communicate
# install all the (security and other) updates
apt-get dist-upgrade -y
# for building borgbackup and dependencies: