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=noninteractive before installing packages to avoid that. Signed-off-by: Stefano Brivio <sbrivio(a)redhat.com> --- 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 -nographic __IMG__ -net socket,fd=5 -net nic,model=virtio -device virtio-rng-ccw host service systemd-resolved stop +host export DEBIAN_FRONTEND=noninteractive host apt-get -y remove needrestart snapd host dhclient sleep 2 -- 2.34.1