2018-11-27 01:04:25 +00:00
|
|
|
# Minimal install for containers
|
2015-04-08 21:02:26 +00:00
|
|
|
|
|
|
|
# Use network installation
|
2018-11-27 01:04:25 +00:00
|
|
|
url --url="http://URL-TO-BASEOS/"
|
|
|
|
repo --name=appstream --baseurl="http://URL-TO-APPSTREAM/"
|
|
|
|
# Network information
|
|
|
|
network --bootproto=dhcp --device=link --activate
|
2015-04-08 21:02:26 +00:00
|
|
|
|
|
|
|
# Root password
|
2018-11-27 01:04:25 +00:00
|
|
|
rootpw --plaintext removethispw
|
2015-04-08 21:02:26 +00:00
|
|
|
# System authorization information
|
2016-03-22 19:05:13 +00:00
|
|
|
auth --useshadow --passalgo=sha512
|
2015-04-08 21:02:26 +00:00
|
|
|
# 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
|
2015-05-12 00:09:04 +00:00
|
|
|
clearpart --all --initlabel
|
2015-04-08 21:02:26 +00:00
|
|
|
# Disk partitioning information
|
|
|
|
part / --fstype="ext4" --size=3000
|
|
|
|
|
2015-09-02 17:32:30 +00:00
|
|
|
%post
|
|
|
|
# Remove random-seed
|
|
|
|
rm /var/lib/systemd/random-seed
|
2018-11-27 01:04:25 +00:00
|
|
|
|
|
|
|
# Clear /etc/machine-id
|
|
|
|
rm /etc/machine-id
|
|
|
|
touch /etc/machine-id
|
2015-09-02 17:32:30 +00:00
|
|
|
%end
|
2015-04-08 21:02:26 +00:00
|
|
|
|
|
|
|
%packages --nocore --instLangs en
|
|
|
|
httpd
|
|
|
|
-kernel
|
2018-11-27 01:04:25 +00:00
|
|
|
policycoreutils
|
2015-04-08 21:02:26 +00:00
|
|
|
%end
|