|
| 1 | +config_opts['root'] = 'centos-stream-10-x86_64' |
| 2 | +config_opts['target_arch'] = 'x86_64' |
| 3 | +config_opts['legal_host_arches'] = ('x86_64',) |
| 4 | + |
| 5 | +config_opts['chroot_setup_cmd'] = 'install bash bzip2 centos-stream-release coreutils cpio diffutils findutils gawk glibc-minimal-langpack grep gzip info patch redhat-rpm-config rpm-build sed shadow-utils tar unzip util-linux which xz' |
| 6 | +config_opts['dist'] = 'el10' # only useful for --resultdir variable subst |
| 7 | +config_opts['releasever'] = '10' |
| 8 | +config_opts['releasever_major'] = '10' |
| 9 | +config_opts['package_manager'] = 'dnf' |
| 10 | +config_opts['extra_chroot_dirs'] = [ '/run/lock', ] |
| 11 | +config_opts['description'] = 'CentOS Stream 10' |
| 12 | + |
| 13 | +config_opts['bootstrap_image'] = 'quay.io/centos/centos:stream10' |
| 14 | +config_opts['bootstrap_image_ready'] = True |
| 15 | + |
| 16 | +#config_opts['module_setup_commands'] = [ |
| 17 | +# ('enable', 'foreman-devel:el10'), |
| 18 | +#] |
| 19 | + |
| 20 | +config_opts['dnf.conf'] = """ |
| 21 | +[main] |
| 22 | +keepcache=1 |
| 23 | +debuglevel=2 |
| 24 | +reposdir=/dev/null |
| 25 | +logfile=/var/log/yum.log |
| 26 | +retries=20 |
| 27 | +obsoletes=1 |
| 28 | +gpgcheck=0 |
| 29 | +assumeyes=1 |
| 30 | +syslog_ident=mock |
| 31 | +syslog_device= |
| 32 | +metadata_expire=0 |
| 33 | +best=1 |
| 34 | +install_weak_deps=0 |
| 35 | +protected_packages= |
| 36 | +skip_if_unavailable=False |
| 37 | +module_platform_id=platform:el10 |
| 38 | +
|
| 39 | +[baseos] |
| 40 | +name=CentOS Stream $releasever - BaseOS |
| 41 | +#baseurl=http://mirror.stream.centos.org/$releasever-stream/BaseOS/$basearch/os/ |
| 42 | +metalink=https://mirrors.centos.org/metalink?repo=centos-baseos-$releasever-stream&arch=$basearch&protocol=https,http |
| 43 | +gpgkey=file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-Official-SHA256 |
| 44 | +gpgcheck=1 |
| 45 | +countme=1 |
| 46 | +enabled=1 |
| 47 | +
|
| 48 | +[appstream] |
| 49 | +name=CentOS Stream $releasever - AppStream |
| 50 | +#baseurl=http://mirror.stream.centos.org/$releasever-stream/AppStream/$basearch/os/ |
| 51 | +metalink=https://mirrors.centos.org/metalink?repo=centos-appstream-$releasever-stream&arch=$basearch&protocol=https,http |
| 52 | +gpgkey=file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-Official-SHA256 |
| 53 | +gpgcheck=1 |
| 54 | +countme=1 |
| 55 | +enabled=1 |
| 56 | +
|
| 57 | +[crb] |
| 58 | +name=CentOS Stream $releasever - CRB |
| 59 | +#baseurl=http://mirror.stream.centos.org/$releasever-stream/CRB/$basearch/os/ |
| 60 | +metalink=https://mirrors.centos.org/metalink?repo=centos-crb-$releasever-stream&arch=$basearch&protocol=https,http |
| 61 | +gpgkey=file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-Official-SHA256 |
| 62 | +gpgcheck=1 |
| 63 | +countme=1 |
| 64 | +enabled=1 |
| 65 | +
|
| 66 | +[extras-common] |
| 67 | +name=CentOS Stream $releasever - Extras packages |
| 68 | +#baseurl=http://mirror.stream.centos.org/SIGs/$releasever-stream/extras/$basearch/extras-common/ |
| 69 | +metalink=https://mirrors.centos.org/metalink?repo=centos-extras-sig-extras-common-$releasever-stream&arch=$basearch&protocol=https,http |
| 70 | +gpgkey=file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-SIG-Extras-SHA512 |
| 71 | +gpgcheck=1 |
| 72 | +enabled=1 |
| 73 | +skip_if_unavailable=False |
| 74 | +
|
| 75 | +#[foreman] |
| 76 | +#name=foreman |
| 77 | +#baseurl=https://yum.theforeman.org/nightly/el10/x86_64/ |
| 78 | +# |
| 79 | +#[foreman-plugins] |
| 80 | +#name=foreman-plugins |
| 81 | +#baseurl=https://yum.theforeman.org/plugins/nightly/el10/x86_64/ |
| 82 | +# |
| 83 | +#[katello] |
| 84 | +#name=katello |
| 85 | +#baseurl=https://yum.theforeman.org/katello/nightly/katello/el10/x86_64/ |
| 86 | +# |
| 87 | +#[puppet-8] |
| 88 | +#name=puppet-8 |
| 89 | +#baseurl=https://yum.puppetlabs.com/puppet8/el/10/x86_64/ |
| 90 | +""" |
0 commit comments