diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2022-02-17 23:53:00 +0100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2022-02-21 13:41:13 +0100 |
commit | 550e2744ab245406d7bc5bfc13b01406781bf870 (patch) | |
tree | a39cf83d50a28d10ec9997c5c839a17a7dff6b1c | |
parent | 745a9ba4284cbe055aac3fadb57efe531c4e3a96 (diff) | |
download | passt-550e2744ab245406d7bc5bfc13b01406781bf870.tar passt-550e2744ab245406d7bc5bfc13b01406781bf870.tar.gz passt-550e2744ab245406d7bc5bfc13b01406781bf870.tar.bz2 passt-550e2744ab245406d7bc5bfc13b01406781bf870.tar.lz passt-550e2744ab245406d7bc5bfc13b01406781bf870.tar.xz passt-550e2744ab245406d7bc5bfc13b01406781bf870.tar.zst passt-550e2744ab245406d7bc5bfc13b01406781bf870.zip |
test/distro/ubuntu: Use DEBIAN_FRONTEND=noninteractive for apt on 22.04
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@redhat.com>
-rw-r--r-- | test/distro/ubuntu | 1 |
1 files changed, 1 insertions, 0 deletions
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 |