diff options
author | baigk <baiguoku@huawei.com> | 2015-08-05 02:00:31 -0400 |
---|---|---|
committer | baigk <baiguoku@huawei.com> | 2015-08-05 02:00:31 -0400 |
commit | 4fb32751f9c8e82a729780fc5dedae71cecc32b6 (patch) | |
tree | cb1af3b6eff4249874469bc567ebe6b6e0cfc4db /deploy/adapters/cobbler/snippets/yum.repos.d/centos/6.6 | |
parent | d05b5f04c92034eae1675dc8102247a3cc3315f7 (diff) |
support deployment os of centos7.1 with cobbler for compass
JIRA: COMPASS-5
Change-Id: I6aa19548a17791f8862c6dba00380ef946ea3108
Signed-off-by: baigk <baiguoku@huawei.com>
Diffstat (limited to 'deploy/adapters/cobbler/snippets/yum.repos.d/centos/6.6')
7 files changed, 404 insertions, 0 deletions
diff --git a/deploy/adapters/cobbler/snippets/yum.repos.d/centos/6.6/kickstart_centos_base_repo b/deploy/adapters/cobbler/snippets/yum.repos.d/centos/6.6/kickstart_centos_base_repo new file mode 100644 index 00000000..7116ade2 --- /dev/null +++ b/deploy/adapters/cobbler/snippets/yum.repos.d/centos/6.6/kickstart_centos_base_repo @@ -0,0 +1,59 @@ +cat << EOF > /etc/yum.repos.d/CentOS-Base.repo +# CentOS-Base.repo +# +# The mirror system uses the connecting IP address of the client and the +# update status of each mirror to pick mirrors that are updated to and +# geographically close to the client. You should use this for CentOS updates +# unless you are manually picking other mirrors. +# +# If the mirrorlist= does not work for you, as a fall back you can try the +# remarked out baseurl= line instead. +# +# + +[base] +name=CentOS-6.6 - Base +mirrorlist=http://mirrorlist.centos.org/?release=6&arch=\\$basearch&repo=os +baseurl=http://mirror.centos.org/centos/6/os/\\$basearch/ +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 +skip_if_unavailable=1 + +# released updates +[updates] +name=CentOS-6.6 - Updates +mirrorlist=http://mirrorlist.centos.org/?release=6&arch=\\$basearch&repo=updates +baseurl=http://mirror.centos.org/centos/6/updates/\\$basearch/ +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 +skip_if_unavailable=1 + +# additional packages that may be useful +[extras] +name=CentOS-6.6 - Extras +mirrorlist=http://mirrorlist.centos.org/?release=6&arch=\\$basearch&repo=extras +baseurl=http://mirror.centos.org/centos/6/extras/\\$basearch/ +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 +skip_if_unavailable=1 + +#additional packages that extend functionality of existing packages +[centosplus] +name=CentOS-6.6 - Plus +mirrorlist=http://mirrorlist.centos.org/?release=6&arch=\\$basearch&repo=centosplus +baseurl=http://mirror.centos.org/centos/6/centosplus/\\$basearch/ +gpgcheck=1 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 +skip_if_unavailable=1 + +#contrib - packages by Centos Users +[contrib] +name=CentOS-6.6 - Contrib +mirrorlist=http://mirrorlist.centos.org/?release=6&arch=\\$basearch&repo=contrib +baseurl=http://mirror.centos.org/centos/6/contrib/\\$basearch/ +gpgcheck=1 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 +skip_if_unavailable=1 +EOF diff --git a/deploy/adapters/cobbler/snippets/yum.repos.d/centos/6.6/kickstart_centos_debuginfo_repo b/deploy/adapters/cobbler/snippets/yum.repos.d/centos/6.6/kickstart_centos_debuginfo_repo new file mode 100644 index 00000000..a8e8853e --- /dev/null +++ b/deploy/adapters/cobbler/snippets/yum.repos.d/centos/6.6/kickstart_centos_debuginfo_repo @@ -0,0 +1,23 @@ +cat << EOF > /etc/yum.repos.d/CentOS-Debuginfo.repo +# CentOS-Debug.repo +# +# The mirror system uses the connecting IP address of the client and the +# update status of each mirror to pick mirrors that are updated to and +# geographically close to the client. You should use this for CentOS updates +# unless you are manually picking other mirrors. +# + +# All debug packages from all the various CentOS-5 releases +# are merged into a single repo, split by BaseArch +# +# Note: packages in the debuginfo repo are currently not signed +# + +[debug] +name=CentOS-6 - Debuginfo +baseurl=http://debuginfo.centos.org/6/\\$basearch/ +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-Debug-6 +enabled=0 +skip_if_unavailable=1 +EOF diff --git a/deploy/adapters/cobbler/snippets/yum.repos.d/centos/6.6/kickstart_centos_epel_repo b/deploy/adapters/cobbler/snippets/yum.repos.d/centos/6.6/kickstart_centos_epel_repo new file mode 100644 index 00000000..ce139eab --- /dev/null +++ b/deploy/adapters/cobbler/snippets/yum.repos.d/centos/6.6/kickstart_centos_epel_repo @@ -0,0 +1,25 @@ +cat << EOF > /etc/yum.repos.d/epel.repo +[epel] +name=Extra Packages for Enterprise Linux 6 - \\$basearch +baseurl=http://download.fedoraproject.org/pub/epel/6/\\$basearch +mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=\\$basearch +failovermethod=priority +enabled=1 +gpgcheck=0 + +[epel-debuginfo] +name=Extra Packages for Enterprise Linux 6 - \\$basearch - Debug +baseurl=http://download.fedoraproject.org/pub/epel/6/\\$basearch/debug +mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=epel-debug-6&arch=\\$basearch +failovermethod=priority +enabled=0 +gpgcheck=0 + +[epel-source] +name=Extra Packages for Enterprise Linux 6 - \\$basearch - Source +baseurl=http://download.fedoraproject.org/pub/epel/6/SRPMS +mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=epel-source-6&arch=\\$basearch +failovermethod=priority +enabled=0 +gpgcheck=0 +EOF diff --git a/deploy/adapters/cobbler/snippets/yum.repos.d/centos/6.6/kickstart_centos_epel_testing_repo b/deploy/adapters/cobbler/snippets/yum.repos.d/centos/6.6/kickstart_centos_epel_testing_repo new file mode 100644 index 00000000..c09468a0 --- /dev/null +++ b/deploy/adapters/cobbler/snippets/yum.repos.d/centos/6.6/kickstart_centos_epel_testing_repo @@ -0,0 +1,25 @@ +cat << EOF > /etc/yum.repos.d/epel-testing.repo +[epel-testing] +name=Extra Packages for Enterprise Linux 6 - Testing - \\$basearch +baseurl=http://download.fedoraproject.org/pub/epel/testing/6/\\$basearch +mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=testing-epel6&arch=\\$basearch +failovermethod=priority +enabled=0 +gpgcheck=0 + +[epel-testing-debuginfo] +name=Extra Packages for Enterprise Linux 6 - Testing - \\$basearch - Debug +baseurl=http://download.fedoraproject.org/pub/epel/testing/6/\\$basearch/debug +mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=testing-debug-epel6&arch=\\$basearch +failovermethod=priority +enabled=0 +gpgcheck=0 + +[epel-testing-source] +name=Extra Packages for Enterprise Linux 6 - Testing - \\$basearch - Source +baseurl=http://download.fedoraproject.org/pub/epel/testing/6/SRPMS +mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=testing-source-epel6&arch=\\$basearch +failovermethod=priority +enabled=0 +gpgcheck=0 +EOF diff --git a/deploy/adapters/cobbler/snippets/yum.repos.d/centos/6.6/kickstart_centos_fasttrack_repo b/deploy/adapters/cobbler/snippets/yum.repos.d/centos/6.6/kickstart_centos_fasttrack_repo new file mode 100644 index 00000000..5a4a7eae --- /dev/null +++ b/deploy/adapters/cobbler/snippets/yum.repos.d/centos/6.6/kickstart_centos_fasttrack_repo @@ -0,0 +1,10 @@ +cat << EOF > /etc/yum.repos.d/CentOS-Fasttrack.repo +[fasttrack] +name=CentOS-6.6 - fasttrack +mirrorlist=http://mirrorlist.centos.org/?release=6&arch=\\$basearch&repo=fasttrack&infra=\\$infra +baseurl=http://mirror.centos.org/centos/6/fasttrack/\\$basearch/ +gpgcheck=1 +enabled=0 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 +skip_if_unavailable=1 +EOF diff --git a/deploy/adapters/cobbler/snippets/yum.repos.d/centos/6.6/kickstart_centos_vault_repo b/deploy/adapters/cobbler/snippets/yum.repos.d/centos/6.6/kickstart_centos_vault_repo new file mode 100644 index 00000000..065fa43e --- /dev/null +++ b/deploy/adapters/cobbler/snippets/yum.repos.d/centos/6.6/kickstart_centos_vault_repo @@ -0,0 +1,256 @@ +cat << EOF > /etc/yum.repos.d/CentOS-Vault.repo +# CentOS-Vault.repo +# +# CentOS Vault holds packages from previous releases within the same CentOS Version +# these are packages obsoleted by the current release and should usually not +# be used in production +#----------------- + +[C6.0-base] +name=CentOS-6.0 - Base +baseurl=http://vault.centos.org/6.0/os/\\$basearch/ +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 +enabled=0 +skip_if_unavailable=1 + +[C6.0-updates] +name=CentOS-6.0 - Updates +baseurl=http://vault.centos.org/6.0/updates/\\$basearch/ +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 +enabled=0 +skip_if_unavailable=1 + +[C6.0-extras] +name=CentOS-6.0 - Extras +baseurl=http://vault.centos.org/6.0/extras/\\$basearch/ +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 +enabled=0 +skip_if_unavailable=1 + +[C6.0-contrib] +name=CentOS-6.0 - Contrib +baseurl=http://vault.centos.org/6.0/contrib/\\$basearch/ +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 +enabled=0 +skip_if_unavailable=1 + +[C6.0-centosplus] +name=CentOS-6.0 - CentOSPlus +baseurl=http://vault.centos.org/6.0/centosplus/\\$basearch/ +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 +enabled=0 +skip_if_unavailable=1 +#----------------- + +[C6.1-base] +name=CentOS-6.1 - Base +baseurl=http://vault.centos.org/6.1/os/\\$basearch/ +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 +enabled=0 +skip_if_unavailable=1 + +[C6.1-updates] +name=CentOS-6.1 - Updates +baseurl=http://vault.centos.org/6.1/updates/\\$basearch/ +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 +enabled=0 +skip_if_unavailable=1 + +[C6.1-extras] +name=CentOS-6.1 - Extras +baseurl=http://vault.centos.org/6.1/extras/\\$basearch/ +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 +enabled=0 +skip_if_unavailable=1 + +[C6.1-contrib] +name=CentOS-6.1 - Contrib +baseurl=http://vault.centos.org/6.1/contrib/\\$basearch/ +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 +enabled=0 +skip_if_unavailable=1 + +[C6.1-centosplus] +name=CentOS-6.1 - CentOSPlus +baseurl=http://vault.centos.org/6.1/centosplus/\\$basearch/ +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 +enabled=0 +skip_if_unavailable=1 +#----------------- + +[C6.2-base] +name=CentOS-6.2 - Base +baseurl=http://vault.centos.org/6.2/os/\\$basearch/ +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 +enabled=0 +skip_if_unavailable=1 + +[C6.2-updates] +name=CentOS-6.2 - Updates +baseurl=http://vault.centos.org/6.2/updates/\\$basearch/ +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 +enabled=0 +skip_if_unavailable=1 + +[C6.2-extras] +name=CentOS-6.2 - Extras +baseurl=http://vault.centos.org/6.2/extras/\\$basearch/ +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 +enabled=0 +skip_if_unavailable=1 + +[C6.2-contrib] +name=CentOS-6.2 - Contrib +baseurl=http://vault.centos.org/6.2/contrib/\\$basearch/ +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 +enabled=0 +skip_if_unavailable=1 + +[C6.2-centosplus] +name=CentOS-6.2 - CentOSPlus +baseurl=http://vault.centos.org/6.2/centosplus/\\$basearch/ +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 +enabled=0 +skip_if_unavailable=1 +#----------------- + +[C6.3-base] +name=CentOS-6.3 - Base +baseurl=http://vault.centos.org/6.3/os/\\$basearch/ +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 +enabled=0 +skip_if_unavailable=1 + +[C6.3-updates] +name=CentOS-6.3 - Updates +baseurl=http://vault.centos.org/6.3/updates/\\$basearch/ +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 +enabled=0 +skip_if_unavailable=1 + +[C6.3-extras] +name=CentOS-6.3 - Extras +baseurl=http://vault.centos.org/6.3/extras/\\$basearch/ +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 +enabled=0 +skip_if_unavailable=1 + +[C6.3-contrib] +name=CentOS-6.3 - Contrib +baseurl=http://vault.centos.org/6.3/contrib/\\$basearch/ +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 +enabled=0 +skip_if_unavailable=1 + +[C6.3-centosplus] +name=CentOS-6.3 - CentOSPlus +baseurl=http://vault.centos.org/6.3/centosplus/\\$basearch/ +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 +enabled=0 +skip_if_unavailable=1 + +#----------------- + +[C6.4-base] +name=CentOS-6.4 - Base +baseurl=http://vault.centos.org/6.4/os/\\$basearch/ +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 +enabled=0 +skip_if_unavailable=1 + +[C6.4-updates] +name=CentOS-6.4 - Updates +baseurl=http://vault.centos.org/6.4/updates/\\$basearch/ +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 +enabled=0 +skip_if_unavailable=1 + +[C6.4-extras] +name=CentOS-6.4 - Extras +baseurl=http://vault.centos.org/6.4/extras/\\$basearch/ +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 +enabled=0 +skip_if_unavailable=1 + +[C6.4-contrib] +name=CentOS-6.4 - Contrib +baseurl=http://vault.centos.org/6.4/contrib/\\$basearch/ +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 +enabled=0 +skip_if_unavailable=1 + +[C6.4-centosplus] +name=CentOS-6.4 - CentOSPlus +baseurl=http://vault.centos.org/6.4/centosplus/\\$basearch/ +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 +enabled=0 +skip_if_unavailable=1 + +#----------------- + +[C6.5-base] +name=CentOS-6.5 - Base +baseurl=http://vault.centos.org/6.5/os/\\$basearch/ +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 +enabled=0 +skip_if_unavailable=1 + +[C6.5-updates] +name=CentOS-6.5 - Updates +baseurl=http://vault.centos.org/6.5/updates/\\$basearch/ +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 +enabled=0 +skip_if_unavailable=1 + +[C6.5-extras] +name=CentOS-6.5 - Extras +baseurl=http://vault.centos.org/6.5/extras/\\$basearch/ +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 +enabled=0 +skip_if_unavailable=1 + +[C6.5-contrib] +name=CentOS-6.5 - Contrib +baseurl=http://vault.centos.org/6.5/contrib/\\$basearch/ +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 +enabled=0 +skip_if_unavailable=1 + +[C6.5-centosplus] +name=CentOS-6.5 - CentOSPlus +baseurl=http://vault.centos.org/6.5/centosplus/\\$basearch/ +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 +enabled=0 +skip_if_unavailable=1 + +EOF diff --git a/deploy/adapters/cobbler/snippets/yum.repos.d/centos/6.6/kickstart_repos b/deploy/adapters/cobbler/snippets/yum.repos.d/centos/6.6/kickstart_repos new file mode 100644 index 00000000..a6ff23b5 --- /dev/null +++ b/deploy/adapters/cobbler/snippets/yum.repos.d/centos/6.6/kickstart_repos @@ -0,0 +1,6 @@ +$SNIPPET('yum.repos.d/centos/6.6/kickstart_centos_base_repo') +$SNIPPET('yum.repos.d/centos/6.6/kickstart_centos_debuginfo_repo') +$SNIPPET('yum.repos.d/centos/6.6/kickstart_centos_vault_repo') +$SNIPPET('yum.repos.d/centos/6.6/kickstart_centos_fasttrack_repo') +$SNIPPET('yum.repos.d/centos/6.6/kickstart_centos_epel_repo') +$SNIPPET('yum.repos.d/centos/6.6/kickstart_centos_epel_testing_repo') |