summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2004-11-04 16:17:53 +0000
committerNarayan Desai <desai@mcs.anl.gov>2004-11-04 16:17:53 +0000
commit19ec37e645eadd7e0452cc0ccc60fa89640c1b27 (patch)
treef8554fe196c8c42db608377ef4c733277a53012b
parentbda49efb4c21f093206a9ff48fdf9876dee01e73 (diff)
downloadbcfg2-19ec37e645eadd7e0452cc0ccc60fa89640c1b27.tar.gz
bcfg2-19ec37e645eadd7e0452cc0ccc60fa89640c1b27.tar.bz2
bcfg2-19ec37e645eadd7e0452cc0ccc60fa89640c1b27.zip
fix noninteractive installs
(Logical change 1.143) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@642 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 da096a2e8..8ec003c39 100644
--- a/src/lib/Client/Debian.py
+++ b/src/lib/Client/Debian.py
@@ -130,7 +130,7 @@ class Debian(Toolset):
def Install(self):
'''Correct detected misconfigurations'''
self.CondPrint("verbose", "Installing needed configuration changes")
- cmd = "apt-get --reinstall -q=2 -y install %s"
+ cmd = "DEBIAN_FRONTEND=noninteractive apt-get --reinstall -q=2 -y install %s"
print "Need to remove:", self.pkgwork['remove']
self.setup['quick'] = True
# need installed for bundle verification