lorax/docs/rhel-container.ks
Brian C. Lane 911ad9c2e6 docs: Increase root filesystem to 2000 in rhel-minimal.ks
Also add comments to the top of the example kickstarts describing how
they are meant to be used and providing an example cmdline. In some
cases, like rhel-minimal.ks, it can also be used for a live-iso but
requires a couple of extra packages for that to work.

Resolves: rhbz#1730937
2019-11-08 12:14:39 -08:00

46 lines
1.0 KiB
Plaintext

# Minimal install for containers
# NOTE: This example is for creating a tar, eg.
# livemedia-creator --project RHEL --releasever 8 --make-tar --ks=rhel-container.ks --no-virt
#
# 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 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 --disabled
# Partition clearing information
clearpart --all --initlabel
# Disk partitioning information
part / --fstype="ext4" --size=3000
%post
# Remove random-seed
rm /var/lib/systemd/random-seed
# Clear /etc/machine-id
rm /etc/machine-id
touch /etc/machine-id
%end
%packages --nocore --instLangs en
httpd
-kernel
policycoreutils
%end