The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/distrobuilder/pull/41

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
Signed-off-by: Thomas Hipp <thomas.h...@canonical.com>
From e003b23773ad14247412ee133b39c417c3d7d0f0 Mon Sep 17 00:00:00 2001
From: Thomas Hipp <thomas.h...@canonical.com>
Date: Wed, 7 Mar 2018 17:42:45 +0100
Subject: [PATCH] shared: Make debootstrap noninteractive

Signed-off-by: Thomas Hipp <thomas.h...@canonical.com>
---
 shared/util.go | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/shared/util.go b/shared/util.go
index 06fe875..20ed1e0 100644
--- a/shared/util.go
+++ b/shared/util.go
@@ -49,7 +49,9 @@ func RunCommand(name string, arg ...string) error {
        cmd.Env = []string{
                
"PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin",
                "SHELL=/bin/sh",
-               "TERM=xterm"}
+               "TERM=xterm",
+               "DEBIAN_FRONTEND=noninteractive",
+       }
 
        cmd.Stdin = os.Stdin
        cmd.Stdout = os.Stdout
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to