54 lines
1.0 KiB
Plaintext
54 lines
1.0 KiB
Plaintext
# Lorax Composer qcow2 output kickstart template
|
|
|
|
#
|
|
sshpw --username=root --plaintext randOmStrinGhERE
|
|
# 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
|
|
# Clear the Master Boot Record
|
|
zerombr
|
|
# Partition clearing information
|
|
clearpart --all
|
|
|
|
%post
|
|
# Remove root password
|
|
passwd -d root > /dev/null
|
|
|
|
# Remove random-seed
|
|
rm /var/lib/systemd/random-seed
|
|
%end
|
|
|
|
%packages
|
|
kernel
|
|
-dracut-config-rescue
|
|
|
|
shim
|
|
shim-ia32
|
|
grub2
|
|
grub2-efi
|
|
grub2-efi-*-cdboot
|
|
grub2-efi-ia32
|
|
efibootmgr
|
|
|
|
# NOTE lorax-composer will add the recipe packages below here, including the final %end
|