summaryrefslogtreecommitdiff
path: root/cloudinit/CloudConfig
diff options
context:
space:
mode:
authorMartin Packman <martin.packman@canonical.com>2012-06-13 12:11:43 +0100
committerMartin Packman <martin.packman@canonical.com>2012-06-13 12:11:43 +0100
commit3d9fdca212c011297523eed2d845ac04b7cffa76 (patch)
tree40fead92fe5c230c46db5520691e9c1c97b9f7e7 /cloudinit/CloudConfig
parenta0d7802c3164727abac9cb1066e5248aa5b1adf4 (diff)
downloadvyos-cloud-init-3d9fdca212c011297523eed2d845ac04b7cffa76.tar.gz
vyos-cloud-init-3d9fdca212c011297523eed2d845ac04b7cffa76.zip
Use -q when running apt-get for logging without progress updates
LP: #1012613
Diffstat (limited to 'cloudinit/CloudConfig')
-rw-r--r--cloudinit/CloudConfig/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/CloudConfig/__init__.py b/cloudinit/CloudConfig/__init__.py
index a16bdde6..1697b6ac 100644
--- a/cloudinit/CloudConfig/__init__.py
+++ b/cloudinit/CloudConfig/__init__.py
@@ -260,7 +260,7 @@ def apt_get(tlc, args=None):
e = os.environ.copy()
e['DEBIAN_FRONTEND'] = 'noninteractive'
cmd = ['apt-get', '--option', 'Dpkg::Options::=--force-confold',
- '--assume-yes', tlc]
+ '--assume-yes', '-q', tlc]
cmd.extend(args)
subprocess.check_call(cmd, env=e)