summaryrefslogtreecommitdiff
path: root/cloudinit/config
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit/config')
-rw-r--r--cloudinit/config/cc_yum_add_repo.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/cloudinit/config/cc_yum_add_repo.py b/cloudinit/config/cc_yum_add_repo.py
index fda3236f..ee117bcd 100644
--- a/cloudinit/config/cc_yum_add_repo.py
+++ b/cloudinit/config/cc_yum_add_repo.py
@@ -50,6 +50,7 @@ def _format_repository_config(repo_id, repo_config):
# the format of yum and don't verify further
to_be[repo_id][k] = v
lines = to_be.write()
+ lines.insert(0, util.make_header())
return "\n".join(lines)