Skip to content

Instantly share code, notes, and snippets.

@lukehinds
Created September 27, 2016 09:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lukehinds/856cb55b8f5b480d9e641f8812749178 to your computer and use it in GitHub Desktop.
Save lukehinds/856cb55b8f5b480d9e641f8812749178 to your computer and use it in GitHub Desktop.
config_opts['root'] = 'dlrn-centos7-x86_64'
config_opts['target_arch'] = 'x86_64'
config_opts['legal_host_arches'] = ('x86_64',)
config_opts['chroot_setup_cmd'] = 'install basesystem rpm-build python2-devel gcc make python-sqlalchemy python-webob ghostscript graphviz python-sphinx python-eventlet python-six python-pbr python3-pbr rdo-rpm-macros git'
config_opts['dist'] = 'el7' # only useful for --resultdir variable subst
config_opts['releasever'] = '7'
config_opts['plugin_conf']['ccache_enable'] = False
config_opts['yum.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=
# repos
[base]
name=BaseOS
mirrorlist=http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os
failovermethod=priority
gpgkey=file:///etc/pki/mock/RPM-GPG-KEY-CentOS-7
gpgcheck=1
[updates]
name=updates
enabled=1
mirrorlist=http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=updates
failovermethod=priority
gpgkey=file:///etc/pki/mock/RPM-GPG-KEY-CentOS-7
gpgcheck=1
[extras]
name=extras
mirrorlist=http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=extras
failovermethod=priority
gpgkey=file:///etc/pki/mock/RPM-GPG-KEY-EPEL-7
gpgcheck=1
[delorean-newton-testing]
name=dlrn-newton-testing
baseurl=http://buildlogs.centos.org/centos/7/cloud/$basearch/openstack-newton/
enabled=1
gpgcheck=0
priority=2
[delorean]
name=delorean
baseurl=http://trunk.rdoproject.org/centos7/current
enabled=1
gpgcheck=0
priority=1
"""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment