O mach suporta RHEL com um arquivo de configuração apropriado, por exemplo:
V = '5Server' # distro version
VS = '5' # 'short' version
A = 'i386' # architecture
AS = '' # 'short' version of arch
DIST = 'rhel-%s-%s' % (V, A)
### RHEL flavours
yumsources[DIST] = {
'os': rhelyum + '/%s/%s/os' % (V, A),
'updates': rhelyum + '/%s/%s/updates' % (V, A),
}
# RHEL
packages['%s' % DIST] = {
'dir': DIST,
'minimal': 'bash glibc redhat-release',
'base': 'coreutils findutils openssh-server',
'build': 'dev redhat-rpm-config rpm-build make gcc gcc-c++ tar gzip ' +
'patch unzip bzip2 diffutils cpio elfutils which',
}
sourceslist['%s' % DIST] = {
DIST: ('os', 'updates', )
}
config['%s' % DIST] = {
'runuser': '/sbin/runuser',
'macros': { 'dist': '.el' + VS, 'rhel': VS, 'redhat': VS},
}
aliases['%s' % DIST] = ('el' + VS + AS, )