diff options
| author | Nate House nathan.house@rackspace.com <> | 2014-02-04 16:09:09 -0600 |
|---|---|---|
| committer | Nate House nathan.house@rackspace.com <> | 2014-02-04 16:09:09 -0600 |
| commit | 6e0aaf44c7a869d35a962a2d60be2d833023d4ec (patch) | |
| tree | 2cf2bf8727e389c53e25190becb2ba44ac2ffd9d /cloudinit/config/cc_apt_configure.py | |
| parent | 6922fc8294e38ee0780e9d74da7d3ec010a3cd3c (diff) | |
| parent | 0efeb26736ddae2967c14a9440088594da32070d (diff) | |
| download | vyos-cloud-init-6e0aaf44c7a869d35a962a2d60be2d833023d4ec.tar.gz vyos-cloud-init-6e0aaf44c7a869d35a962a2d60be2d833023d4ec.zip | |
Merge gentoo branch and updated set-password to support systemctl
Diffstat (limited to 'cloudinit/config/cc_apt_configure.py')
| -rw-r--r-- | cloudinit/config/cc_apt_configure.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cloudinit/config/cc_apt_configure.py b/cloudinit/config/cc_apt_configure.py index 29c13a3d..ccb45bb9 100644 --- a/cloudinit/config/cc_apt_configure.py +++ b/cloudinit/config/cc_apt_configure.py @@ -51,6 +51,8 @@ EXPORT_GPG_KEYID = """ def handle(name, cfg, cloud, log, _args): + if cloud.distro.is_excluded(name): + return release = get_release() mirrors = find_apt_mirror_info(cloud, cfg) if not mirrors or "primary" not in mirrors: |
