include('/etc/mock/epel-7-x86_64.cfg') config_opts['root'] = '592291-epel-7-x86_64' config_opts['chroot_additional_packages'] = '' # https://github.com/rpm-software-management/mock/issues/89 config_opts['nspawn_args'] = ['--private-network'] config_opts['use_bootstrap_container'] = False config_opts['yum.conf'] += """ [copr_base] name="Copr repository" baseurl=https://copr-be.cloud.fedoraproject.org/results/priteau/ChameleonCloud-ocata/epel-7-x86_64/ gpgcheck=0 enabled=1 skip_if_unavailable=1 metadata_expire=0 cost=1 best=1 [http_mirror_centos_org_centos_7_cloud_basearch_openstack_ocata] name="Additional repo http_mirror_centos_org_centos_7_cloud_basearch_openstack_ocata" baseurl=http://mirror.centos.org/centos/7/cloud/$basearch/openstack-ocata/ gpgcheck=0 enabled=1 skip_if_unavailable=1 metadata_expire=0 cost=1 best=1 """