diff options
author | Scott Moser <smoser@ubuntu.com> | 2012-11-10 22:32:31 -0500 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2012-11-10 22:32:31 -0500 |
commit | 6a3bd563282a51695bf1384d057d0495fd59929f (patch) | |
tree | 0df5b82bf2b49b8899614688886fa6f5e3b4cdad /doc | |
parent | d7a42777c83668111d9bb496f581605b33a0b4f2 (diff) | |
parent | 9cb3130b0b87eabe458df7dc113f00431ff3648e (diff) | |
download | vyos-cloud-init-6a3bd563282a51695bf1384d057d0495fd59929f.tar.gz vyos-cloud-init-6a3bd563282a51695bf1384d057d0495fd59929f.zip |
add yum_add_repo configuration module
Add in a configuration module that can write out the yum.repo format for
those that want to hook into different repos for installing.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/examples/cloud-config-yum-repo.txt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/examples/cloud-config-yum-repo.txt b/doc/examples/cloud-config-yum-repo.txt new file mode 100644 index 00000000..ab2c031e --- /dev/null +++ b/doc/examples/cloud-config-yum-repo.txt @@ -0,0 +1,20 @@ +#cloud-config +# vim: syntax=yaml +# +# Add yum repository configuration to the system +# +# The following example adds the file /etc/yum.repos.d/epel_testing.repo +# which can then subsequently be used by yum for later operations. +yum_repos: + # The name of the repository + epel-testing: + # Any repository configuration options + # See: man yum.conf + # + # This one is required! + baseurl: http://download.fedoraproject.org/pub/epel/testing/5/$basearch + enabled: false + failovermethod: priority + gpgcheck: true + gpgkey: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL + name: Extra Packages for Enterprise Linux 5 - Testing |