From e8ffc7b8d95dfcfe434e5059e6ea50ab1e71cfad Mon Sep 17 00:00:00 2001
From: Hans-Christoph Steiner <hans@eds.org>
Date: Fri, 3 Dec 2021 11:31:02 +0100
Subject: [PATCH] Vagrantfile: fix Debian install errors that need human
 interaction

---
 Vagrantfile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Vagrantfile b/Vagrantfile
index fae9d541..91042fb6 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -42,6 +42,9 @@ Vagrant.configure("2") do |config|
     echo 'deb https://deb.debian.org/debian/ buster-updates main' >> /etc/apt/sources.list
     echo 'deb https://deb.debian.org/debian-security/ buster/updates main' >> /etc/apt/sources.list
 
+    apt-get --allow-releaseinfo-change-suite update  # buster went from stable to oldstable
+    apt-get -qy remove grub-pc  # updating grub requires human interaction
+
     mv ~vagrant/env.sh #{sourcepath}
     source #{sourcepath}
     mkdir -p $(dirname $CI_PROJECT_DIR)
-- 
GitLab