summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorRobert Schweikert <rjschwei@suse.com>2017-09-21 11:58:28 -0400
committerScott Moser <smoser@brickies.net>2017-10-03 09:53:28 -0400
commitcc1475d07b9d0727012634ee9c7a914d67b051f5 (patch)
tree8156aabdf6d8f806e02df96f7b8c1365b0a40350 /config
parent0ee829f91322ae1788ee6fb2a164cf06cdfff7db (diff)
downloadvyos-cloud-init-cc1475d07b9d0727012634ee9c7a914d67b051f5.tar.gz
vyos-cloud-init-cc1475d07b9d0727012634ee9c7a914d67b051f5.zip
suse: Support addition of zypper repos via cloud-config.
This adds a config module so support for adding zypper repositories via cloud-config. LP: #1718675
Diffstat (limited to 'config')
-rw-r--r--config/cloud.cfg.tmpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/cloud.cfg.tmpl b/config/cloud.cfg.tmpl
index 50e3bd86..32de9c9b 100644
--- a/config/cloud.cfg.tmpl
+++ b/config/cloud.cfg.tmpl
@@ -84,6 +84,9 @@ cloud_config_modules:
- apt-pipelining
- apt-configure
{% endif %}
+{% if variant in ["suse"] %}
+ - zypper-add-repo
+{% endif %}
{% if variant not in ["freebsd"] %}
- ntp
{% endif %}