[libvirt] [jenkins-ci PATCH v3 06/10] lcitool: force non-interactive apt-get frontend

Daniel P. Berrangé berrange at redhat.com
Wed Feb 13 19:03:01 UTC 2019


Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
---
 guests/lcitool | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/guests/lcitool b/guests/lcitool
index bd32d1f..a7bcae3 100755
--- a/guests/lcitool
+++ b/guests/lcitool
@@ -541,7 +541,8 @@ class Application:
 
         if package_format == "deb":
             sys.stdout.write(textwrap.dedent("""
-                RUN apt-get update && \\
+                RUN export DEBIAN_FRONTEND=noninteractive && \\
+                    apt-get update && \\
                     apt-get dist-upgrade -y && \\
                     apt-get install -y ${PACKAGES} && \\
                     apt-get autoremove -y && \\
-- 
2.20.1




More information about the libvir-list mailing list