1a8591fdd5
Rename them to rhel-*, update urls to reference BaseOS and AppStream. rhel-livemedia will boot into a live GNOME desktop. Resolves: rhbz#1650295
65 lines
1.3 KiB
Plaintext
65 lines
1.3 KiB
Plaintext
# Minimal Disk Image
|
|
#
|
|
# Firewall configuration
|
|
firewall --enabled
|
|
# Use network installation
|
|
url --url="http://URL-TO-BASEOS/"
|
|
repo --name=appstream --baseurl="http://URL-TO-APPSTREAM/"
|
|
# Network information
|
|
network --bootproto=dhcp --device=link --activate
|
|
|
|
# Root password
|
|
rootpw --plaintext removethispw
|
|
# System authorization information
|
|
auth --useshadow --passalgo=sha512
|
|
# System keyboard
|
|
keyboard --xlayouts=us --vckeymap=us
|
|
# System language
|
|
lang en_US.UTF-8
|
|
# SELinux configuration
|
|
selinux --enforcing
|
|
# Installation logging level
|
|
logging --level=info
|
|
# Shutdown after installation
|
|
shutdown
|
|
# System timezone
|
|
timezone US/Eastern
|
|
# System bootloader configuration
|
|
bootloader --location=mbr
|
|
# Partition clearing information
|
|
clearpart --all --initlabel
|
|
# Disk partitioning information
|
|
part / --fstype="ext4" --size=1500
|
|
part swap --size=512
|
|
|
|
%post
|
|
# Remove root password
|
|
passwd -d root > /dev/null
|
|
|
|
# Remove random-seed
|
|
rm /var/lib/systemd/random-seed
|
|
|
|
# Clear /etc/machine-id
|
|
rm /etc/machine-id
|
|
touch /etc/machine-id
|
|
%end
|
|
|
|
%packages
|
|
@core
|
|
kernel
|
|
# Make sure that DNF doesn't pull in debug kernel to satisfy kmod() requires
|
|
kernel-modules
|
|
kernel-modules-extra
|
|
|
|
memtest86+
|
|
grub2-efi
|
|
grub2
|
|
shim
|
|
syslinux
|
|
-dracut-config-rescue
|
|
|
|
# dracut needs these included
|
|
dracut-network
|
|
tar
|
|
%end
|