2013-10-30 18:06:37 +00:00
|
|
|
# Minimal Disk Image
|
|
|
|
#
|
|
|
|
sshpw --username=root --plaintext randOmStrinGhERE
|
|
|
|
# Firewall configuration
|
|
|
|
firewall --enabled
|
|
|
|
# Use network installation
|
2021-05-04 19:08:36 +00:00
|
|
|
url --url="http://URL-TO-BASEOS"
|
|
|
|
repo --name=appstream --baseurl="http://URL-TO-APPSTREAM/"
|
2016-03-22 19:05:13 +00:00
|
|
|
# Network information
|
|
|
|
network --bootproto=dhcp --device=link --activate
|
2013-10-30 18:06:37 +00:00
|
|
|
|
|
|
|
# Root password
|
|
|
|
rootpw --plaintext removethispw
|
|
|
|
# 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
|
2015-05-12 00:09:04 +00:00
|
|
|
clearpart --all --initlabel
|
2013-10-30 18:06:37 +00:00
|
|
|
# Disk partitioning information
|
2018-06-11 20:54:51 +00:00
|
|
|
reqpart
|
2013-10-30 18:06:37 +00:00
|
|
|
part / --fstype="ext4" --size=4000
|
|
|
|
part swap --size=1000
|
|
|
|
|
|
|
|
%post
|
|
|
|
# Remove root password
|
|
|
|
passwd -d root > /dev/null
|
2015-09-02 17:32:30 +00:00
|
|
|
|
|
|
|
# Remove random-seed
|
|
|
|
rm /var/lib/systemd/random-seed
|
2013-10-30 18:06:37 +00:00
|
|
|
%end
|
|
|
|
|
|
|
|
%packages
|
|
|
|
@core
|
|
|
|
kernel
|
2016-01-13 22:31:40 +00:00
|
|
|
# Make sure that DNF doesn't pull in debug kernel to satisfy kmod() requires
|
|
|
|
kernel-modules
|
|
|
|
kernel-modules-extra
|
|
|
|
|
2013-10-30 18:06:37 +00:00
|
|
|
memtest86+
|
|
|
|
grub2-efi
|
|
|
|
grub2
|
|
|
|
shim
|
|
|
|
syslinux
|
|
|
|
-dracut-config-rescue
|
2015-01-15 01:14:49 +00:00
|
|
|
|
|
|
|
# dracut needs these included
|
|
|
|
dracut-network
|
|
|
|
tar
|
2013-10-30 18:06:37 +00:00
|
|
|
%end
|