summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2005-06-01 17:57:19 +0000
committerNarayan Desai <desai@mcs.anl.gov>2005-06-01 17:57:19 +0000
commita4418c3da0441fb3ea5ae467e5112b0e8f66d317 (patch)
treef010b06242970ec62620bea465a368714dff9464
parent17c7a9c83e84d043443092fb9f66fc0d02ebd915 (diff)
downloadbcfg2-a4418c3da0441fb3ea5ae467e5112b0e8f66d317.tar.gz
bcfg2-a4418c3da0441fb3ea5ae467e5112b0e8f66d317.tar.bz2
bcfg2-a4418c3da0441fb3ea5ae467e5112b0e8f66d317.zip
add noninteractive force to all apt-get calls
(Logical change 1.229) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@959 ce84e21b-d406-0410-9b95-82705330c041
-rw-r--r--src/lib/Client/Debian.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Client/Debian.py b/src/lib/Client/Debian.py
index 8cf97fcd3..7d4a569cf 100644
--- a/src/lib/Client/Debian.py
+++ b/src/lib/Client/Debian.py
@@ -16,7 +16,7 @@ class Debian(Toolset):
__important__ = ["/etc/apt/sources.list", "/var/cache/debconf/config.dat", \
"/var/cache/debconf/templates.dat", '/etc/passwd', '/etc/group', \
'/etc/apt/apt.conf']
- pkgtool = ('apt-get --reinstall -q=2 --force-yes -y install %s',
+ pkgtool = ('DEBIAN_FRONTEND=noninteractive apt-get --reinstall -q=2 --force-yes -y install %s',
('%s=%s', ['name', 'version']))
svcre = regcompile("/etc/.*/[SK]\d\d(?P<name>\S+)")