summaryrefslogtreecommitdiff
path: root/cloudinit/config/cc_rh_subscription.py
diff options
context:
space:
mode:
authorJoshua Harlow <jxharlow@godaddy.com>2016-07-25 12:43:32 -0700
committerScott Moser <smoser@ubuntu.com>2016-08-10 15:04:53 -0600
commitdb72092b65ecc57bafe1ac6e81c99115f6bd1936 (patch)
tree3083dd47fa973d906396443f7615f524cea9785f /cloudinit/config/cc_rh_subscription.py
parent4a1c0df6bc42d47b4e510b55c929419628ff9990 (diff)
downloadvyos-cloud-init-db72092b65ecc57bafe1ac6e81c99115f6bd1936.tar.gz
vyos-cloud-init-db72092b65ecc57bafe1ac6e81c99115f6bd1936.zip
Add distro tags on config modules that should have it
Some of these really won't work to well on non-supporting distros so to avoid further user pain tag this with the supported distros where they should work.
Diffstat (limited to 'cloudinit/config/cc_rh_subscription.py')
-rw-r--r--cloudinit/config/cc_rh_subscription.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/cloudinit/config/cc_rh_subscription.py b/cloudinit/config/cc_rh_subscription.py
index 3a113aea..d4ad724a 100644
--- a/cloudinit/config/cc_rh_subscription.py
+++ b/cloudinit/config/cc_rh_subscription.py
@@ -18,6 +18,8 @@
from cloudinit import util
+distros = ['fedora', 'rhel']
+
def handle(name, cfg, _cloud, log, _args):
sm = SubscriptionManager(cfg)