diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2008-06-22 00:45:02 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2008-06-22 00:45:02 +0000 |
commit | a930a955564836408f4c430053cb88b2bad12729 (patch) | |
tree | 493a034806eedc101bf82c5214eef6bd294c8349 /src | |
parent | 4e4577cdd742724210bba22bc6a1a6e55c4a7c88 (diff) | |
download | bcfg2-a930a955564836408f4c430053cb88b2bad12729.tar.gz bcfg2-a930a955564836408f4c430053cb88b2bad12729.tar.bz2 bcfg2-a930a955564836408f4c430053cb88b2bad12729.zip |
add more non-interactive options for APT
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4704 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/Client/Tools/APT.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Client/Tools/APT.py b/src/lib/Client/Tools/APT.py index e6e952bfc..05d24d862 100644 --- a/src/lib/Client/Tools/APT.py +++ b/src/lib/Client/Tools/APT.py @@ -18,7 +18,7 @@ class APT(Bcfg2.Client.Tools.PkgTool): __handles__ = [('Package', 'deb')] __req__ = {'Package': ['name', 'version']} pkgtype = 'deb' - pkgtool = ('apt-get --reinstall -q=2 --force-yes -y install %s', + pkgtool = ('apt-get --reinstall -q=2 -o DPkg::Options="--force-overwrite --force-confold" --force-yes -y install %s', ('%s=%s', ['name', 'version'])) svcre = re.compile("/etc/.*/[SK]\d\d(?P<name>\S+)") |