summaryrefslogtreecommitdiff
path: root/cloudinit/config/cc_yum_add_repo.py
diff options
context:
space:
mode:
authorJoshua Harlow <harlowja@yahoo-inc.com>2012-10-16 21:20:19 -0700
committerJoshua Harlow <harlowja@yahoo-inc.com>2012-10-16 21:20:19 -0700
commit8e38c908da002b350d26845ffb5931b4efce1ca8 (patch)
tree0c3d4638c29a4232ea7e7e7920d956f6717355cd /cloudinit/config/cc_yum_add_repo.py
parentcf80962e51a925d5b895d0ef90c2a15ad99778b3 (diff)
downloadvyos-cloud-init-8e38c908da002b350d26845ffb5931b4efce1ca8.tar.gz
vyos-cloud-init-8e38c908da002b350d26845ffb5931b4efce1ca8.zip
Add in a created by cloud-init header.
Diffstat (limited to 'cloudinit/config/cc_yum_add_repo.py')
-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)