Created
March 25, 2020 19:43
-
-
Save ehelms/b7be5512eaa43f9982cfc08bb120c341 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Note we share the same root as the default epel-8-x86_64 config as the | |
# chroot setup should be identical | |
config_opts['chroot_setup_cmd'] = 'install tar gcc-c++ redhat-rpm-config redhat-release which xz sed make bzip2 gzip gcc coreutils unzip shadow-utils diffutils cpio bash gawk rpm-build info patch util-linux findutils grep' | |
config_opts['dist'] = 'el8' # only useful for --resultdir variable subst | |
config_opts['releasever'] = '8' | |
config_opts['package_manager'] = 'dnf' | |
config_opts['extra_chroot_dirs'] = [ '/run/lock', ] | |
config_opts['bootstrap_image'] = 'centos:8' | |
config_opts['root'] = 'epel-8-x86_64' | |
config_opts['target_arch'] = 'x86_64' | |
config_opts['legal_host_arches'] = ('x86_64',) | |
config_opts['dnf.conf'] = """ | |
[main] | |
keepcache=1 | |
debuglevel=2 | |
reposdir=/dev/null | |
logfile=/var/log/yum.log | |
retries=20 | |
obsoletes=1 | |
gpgcheck=0 | |
assumeyes=1 | |
syslog_ident=mock | |
syslog_device= | |
mdpolicy=group:primary | |
best=1 | |
protected_packages= | |
module_platform_id=platform:el8 | |
# repos | |
[BaseOS] | |
name=CentOS-$releasever - Base | |
mirrorlist=http://mirrorlist.centos.org/?release=8&arch=$basearch&repo=BaseOS&infra=$infra | |
failovermethod=priority | |
[AppStream] | |
name=CentOS-$releasever - AppStream | |
mirrorlist=http://mirrorlist.centos.org/?release=8&arch=$basearch&repo=AppStream&infra=$infra | |
#baseurl=http://mirror.centos.org/centos/$releasever/AppStream/$basearch/os/ | |
[epel] | |
name=epel | |
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-8&arch=$basearch | |
failovermethod=priority | |
[puppet-6] | |
name=puppet-6 | |
baseurl=https://yum.puppetlabs.com/puppet6/el/8/x86_64/ | |
""" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment