summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorChad Smith <chad.smith@canonical.com>2018-03-22 21:13:06 -0400
committerScott Moser <smoser@brickies.net>2018-03-22 21:13:06 -0400
commit0d51e912146b3031c458ce415b7d4cd6eb17d06e (patch)
tree3c130dee4981de130952123b0aee61757ef9940d /config
parentd29eeccd2c422b8eb3b053fc13ca966ed6d74c78 (diff)
downloadvyos-cloud-init-0d51e912146b3031c458ce415b7d4cd6eb17d06e.tar.gz
vyos-cloud-init-0d51e912146b3031c458ce415b7d4cd6eb17d06e.zip
ubuntu-advantage: Add new config module to support ubuntu-advantage-tools
ubuntu-advantage-tools is a package for enabling and disabling extended support services such as Extended Security Maintenance (ESM), Canonical Livepatch and FIPS certified PPAs. Simplify Ubuntu Advantage setup on machines by allowing users to provide a list of ubuntu-advantage commands in cloud-config.
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 56a34fab..3129d4eb 100644
--- a/config/cloud.cfg.tmpl
+++ b/config/cloud.cfg.tmpl
@@ -87,6 +87,9 @@ cloud_config_modules:
- apt-pipelining
- apt-configure
{% endif %}
+{% if variant in ["ubuntu"] %}
+ - ubuntu-advantage
+{% endif %}
{% if variant in ["suse"] %}
- zypper-add-repo
{% endif %}