summaryrefslogtreecommitdiff
path: root/cloudinit/config/cc_apt_pipelining.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2014-02-12 14:56:55 -0500
committerScott Moser <smoser@ubuntu.com>2014-02-12 14:56:55 -0500
commit20305aea1eac724069e0bfaaf976ec5caa8c2439 (patch)
treec631bbfc05dd9265b28dcff4bccdf9aa56148b79 /cloudinit/config/cc_apt_pipelining.py
parent8d117d37e2945369abaa66d1e30f153e483c3faf (diff)
downloadvyos-cloud-init-20305aea1eac724069e0bfaaf976ec5caa8c2439.tar.gz
vyos-cloud-init-20305aea1eac724069e0bfaaf976ec5caa8c2439.zip
drop 'is_excluded'.
for now, this the mechanism just doesn't seem right. I think i'd rather have the module declare supported distros than have distros declare [un]supported modules.
Diffstat (limited to 'cloudinit/config/cc_apt_pipelining.py')
-rw-r--r--cloudinit/config/cc_apt_pipelining.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/cloudinit/config/cc_apt_pipelining.py b/cloudinit/config/cc_apt_pipelining.py
index bd180e82..503a1485 100644
--- a/cloudinit/config/cc_apt_pipelining.py
+++ b/cloudinit/config/cc_apt_pipelining.py
@@ -35,8 +35,6 @@ APT_PIPE_TPL = ("//Written by cloud-init per 'apt_pipelining'\n"
def handle(_name, cfg, _cloud, log, _args):
- if _cloud.distro.is_excluded(_name):
- return
apt_pipe_value = util.get_cfg_option_str(cfg, "apt_pipelining", False)
apt_pipe_value_s = str(apt_pipe_value).lower().strip()