From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Brivio To: passt-dev@passt.top Subject: [PATCH 13/18] test/distro/ubuntu: Use DEBIAN_FRONTEND=noninteractive for apt on 22.04 Date: Tue, 22 Feb 2022 02:34:29 +0100 Message-ID: <20220222013434.4116044-14-sbrivio@redhat.com> In-Reply-To: <20220222013434.4116044-1-sbrivio@redhat.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7228607448529321955==" --===============7228607448529321955== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Removing the needrestart package doesn't seem to work anymore, and I'm getting again prompts to restart services after installing gcc and make: export DEBIAN_FRONTEND=3Dnoninteractive before installing packages to avoid that. Signed-off-by: Stefano Brivio --- test/distro/ubuntu | 1 + 1 file changed, 1 insertion(+) diff --git a/test/distro/ubuntu b/test/distro/ubuntu index b67c1f3..781daab 100644 --- a/test/distro/ubuntu +++ b/test/distro/ubuntu @@ -187,6 +187,7 @@ host guestfish --rw -a __IMG__ -i copy-in __GUEST_FILES__= /root/ host ./qrap 5 qemu-system-s390x -m 2048 -smp 2 -serial stdio -nodefaults -no= graphic __IMG__ -net socket,fd=3D5 -net nic,model=3Dvirtio -device virtio-rng= -ccw =20 host service systemd-resolved stop +host export DEBIAN_FRONTEND=3Dnoninteractive host apt-get -y remove needrestart snapd host dhclient sleep 2 --=20 2.34.1 --===============7228607448529321955==--