This repository has been archived by the owner on Sep 12, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathrhel-7-x86_64.cfg
53 lines (46 loc) · 1.55 KB
/
rhel-7-x86_64.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
config_opts['root'] = 'rhel-7-x86_64'
config_opts['target_arch'] = 'x86_64'
config_opts['legal_host_arches'] = ('x86_64',)
config_opts['chroot_setup_cmd'] = 'install bash bzip2 cpio diffutils gcc gcc-c++ gzip make patch perl rpm-build sed shadow-utils tar unzip which'
config_opts['dist'] = 'el7' # only useful for --resultdir variable subst
config_opts['releasever'] = '7Server'
config_opts['use_nspawn'] = False
config_opts['use_bootstrap'] = False
config_opts['dnf_warning'] = False
config_opts['yum.conf'] = """
[main]
cachedir=/var/cache/yum
debuglevel=1
reposdir=/dev/null
logfile=/var/log/yum.log
retries=20
obsoletes=1
gpgcheck=0
assumeyes=1
syslog_ident=mock
syslog_device=
# repos
[rhel-7-server-rpms]
metadata_expire = 1
sslclientcert = /etc/pki/entitlement/YOUROWNKEY.pem
baseurl = https://sat6.example.org/pulp/repos/ORG/ENV/CONTENT_VIEW/content/dist/rhel/server/7/7Server/$basearch/os
ui_repoid_vars = basearch
sslverify = 1
name = Red Hat Enterprise Linux 7 Server (RPMs)
sslclientkey = /etc/pki/entitlement/YOUROWNKEY-key.pem
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
enabled = 1
sslcacert = /etc/rhsm/ca/katello-server-ca.pem
gpgcheck = 1
[epel]
metadata_expire = 1
sslclientcert = /etc/pki/entitlement/YOUROWNKEY.pem
baseurl = https://sat6.example.org/pulp/repos/ORG/ENV/CONTENT_VIEW/custom/EPEL/EPEL_7
sslverify = 1
name = EPEL 7
sslclientkey = /etc/pki/entitlement/YOUROWNKEY-key.pem
gpgkey = https://sat6.example.org/katello/api/repositories/13/gpg_key_content
enabled = 1
sslcacert = /etc/rhsm/ca/katello-server-ca.pem
gpgcheck = 1
"""