c8283adc17
Currently we are making MBR disk images for qcow2 and partitioned disk, so the UEFI packages aren't required at this point. Move the clearpart command into compose.py so that in the futute it can use clearpart --disklabel to create a GPT image, and add the required packages to the package set.
41 lines
851 B
Plaintext
41 lines
851 B
Plaintext
# Lorax Composer qcow2 output kickstart template
|
|
|
|
# Firewall configuration
|
|
firewall --enabled
|
|
|
|
# Root password
|
|
rootpw --plaintext removethispw
|
|
# Network information
|
|
network --bootproto=dhcp --onboot=on --activate
|
|
# System authorization information
|
|
auth --useshadow --enablemd5
|
|
# 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
|
|
|
|
%post
|
|
# Remove root password
|
|
passwd -d root > /dev/null
|
|
|
|
# Remove random-seed
|
|
rm /var/lib/systemd/random-seed
|
|
%end
|
|
|
|
%packages
|
|
kernel
|
|
-dracut-config-rescue
|
|
grub2
|
|
|
|
# NOTE lorax-composer will add the recipe packages below here, including the final %end
|