summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorDaniel Watkins <daniel.watkins@canonical.com>2019-03-19 14:24:37 +0000
committerServer Team CI Bot <josh.powers+server-team-bot@canonical.com>2019-03-19 14:24:37 +0000
commit5e5894d68d21bf33649aca36973a0ef2fe72f01d (patch)
tree929f192b700e9b5f3454da1bb4edbdd07687c94a /config
parent6d58bd8a65e1e7723cd6019b0ceca39564c435fd (diff)
downloadcloud-init-git-5e5894d68d21bf33649aca36973a0ef2fe72f01d.tar.gz
Add ubuntu_drivers config module
The ubuntu_drivers config module enables usage of the 'ubuntu-drivers' command. At this point it only serves as a way of installing NVIDIA drivers for general purpose graphics processing unit (GPGPU) functionality. Also, a small usability improvement to get_cfg_by_path to allow it to take a string for the key path "toplevel/second/mykey" in addition to the original: ("toplevel", "second", "mykey")
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 7513176b..25db43e0 100644
--- a/config/cloud.cfg.tmpl
+++ b/config/cloud.cfg.tmpl
@@ -112,6 +112,9 @@ cloud_final_modules:
- landscape
- lxd
{% endif %}
+{% if variant in ["ubuntu", "unknown"] %}
+ - ubuntu-drivers
+{% endif %}
{% if variant not in ["freebsd"] %}
- puppet
- chef