summaryrefslogtreecommitdiff
path: root/cloudinit/CloudConfig/cc_apt_update_upgrade.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit/CloudConfig/cc_apt_update_upgrade.py')
-rw-r--r--cloudinit/CloudConfig/cc_apt_update_upgrade.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/CloudConfig/cc_apt_update_upgrade.py b/cloudinit/CloudConfig/cc_apt_update_upgrade.py
index 495b8522..41c34bc3 100644
--- a/cloudinit/CloudConfig/cc_apt_update_upgrade.py
+++ b/cloudinit/CloudConfig/cc_apt_update_upgrade.py
@@ -127,7 +127,7 @@ def add_sources(srclist, searchList={ }):
source=ent['source']
if source.startswith("ppa:"):
- try: util.subp(["add-apt-repository",source])
+ try: util.subp(["add-apt-repository",source], "/dev/null")
except:
elst.append([source, "add-apt-repository failed"])
continue