-
Notifications
You must be signed in to change notification settings - Fork 0
/
alma-8.tmpl
34 lines (27 loc) · 1.26 KB
/
alma-8.tmpl
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
#DESC: AlmaLinux 8
# The general RHEL include has all of the necessary functions, but requires
# some basic variables specific to each chroot type to be defined.
# Use DNF as the package manager
PKG_MGR=dnf
EXTRA_ARGS="--releasever=8"
PLATFORMID="platform:el8"
# Uncomment to disable GPG checks on added repos
# REPO_NOGPGCHECK=1
. include-rhel
# Define the location of the YUM repository
if [ -z "$YUM_MIRROR" ]; then
if [ -z "$YUM_MIRROR_BASE" ]; then
YUM_MIRROR_BASE="http://mirror.centos.org/centos-8"
YUM_MIRROR_BASE=https://repo.almalinux.org/almalinux
fi
YUM_MIRROR="${YUM_MIRROR_BASE}/8/BaseOS/\$basearch/os","${YUM_MIRROR_BASE}/8/AppStream/\$basearch/os","${YUM_MIRROR_BASE}/8/PowerTools/\$basearch/os"
fi
# Install only what is necessary/specific for this distribution
PKGLIST="basesystem bash chkconfig coreutils e2fsprogs ethtool
filesystem findutils gawk grep initscripts iproute iputils
net-tools nfs-utils pam psmisc rsync sed setup
shadow-utils rsyslog tzdata util-linux words
zlib tar less gzip which util-linux openssh-clients
openssh-server dhclient pciutils vim-minimal shadow-utils
strace cronie crontabs cpio wget redhat-release hostname grub2-common glibc-langpack-en"
# vim:filetype=sh:syntax=sh:expandtab:ts=4:sw=4: