summaryrefslogtreecommitdiff
path: root/cloudinit/config
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit/config')
-rw-r--r--cloudinit/config/cc_apt_configure.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/cloudinit/config/cc_apt_configure.py b/cloudinit/config/cc_apt_configure.py
index e7b8a9b3..e5a962ac 100644
--- a/cloudinit/config/cc_apt_configure.py
+++ b/cloudinit/config/cc_apt_configure.py
@@ -171,6 +171,7 @@ def generate_sources_list(cfg, codename, mirrors, cloud, log):
templater.render_to_file(template_fn, '/etc/apt/sources.list', params)
+
def add_key_raw(key):
"""
actual adding of a key as defined in key argument
@@ -181,6 +182,7 @@ def add_key_raw(key):
except:
raise Exception('failed add key')
+
def add_key(ent):
"""
add key to the system as defiend in ent (if any)