51 lines
1.3 KiB
Text
51 lines
1.3 KiB
Text
# CentOS aarch64 image kickstart file.
|
|
# This file is used by the CentOS installer to
|
|
# script the generation of the image.
|
|
#
|
|
# Copyright 2020 Linaro
|
|
#
|
|
ignoredisk --only-use=vda
|
|
# System bootloader configuration
|
|
bootloader --append=" crashkernel=auto" --location=mbr --boot-drive=vda
|
|
autopart --type=plain
|
|
# Partition clearing information
|
|
clearpart --linux --initlabel --drives=vda
|
|
# Use text mode install
|
|
text
|
|
repo --name="AppStream" --baseurl=file:///run/install/repo/AppStream
|
|
# Use CDROM installation media
|
|
cdrom
|
|
# Keyboard layouts
|
|
keyboard --vckeymap=us --xlayouts=''
|
|
# System language
|
|
lang en_US.UTF-8
|
|
|
|
# Network information
|
|
network --bootproto=dhcp --device=enp0s1 --onboot=off --ipv6=auto --no-activate
|
|
network --hostname=localhost.localdomain
|
|
# Run the Setup Agent on first boot
|
|
firstboot --enable
|
|
# Do not configure the X Window System
|
|
skipx
|
|
# System services
|
|
services --enabled="chronyd"
|
|
# System timezone
|
|
timezone America/New_York --isUtc
|
|
|
|
# Shutdown after installation is complete.
|
|
shutdown
|
|
|
|
%packages
|
|
@^server-product-environment
|
|
kexec-tools
|
|
|
|
%end
|
|
|
|
%addon com_redhat_kdump --enable --reserve-mb='auto'
|
|
|
|
%end
|
|
%anaconda
|
|
pwpolicy root --minlen=6 --minquality=1 --notstrict --nochanges --notempty
|
|
pwpolicy user --minlen=6 --minquality=1 --notstrict --nochanges --emptyok
|
|
pwpolicy luks --minlen=6 --minquality=1 --notstrict --nochanges --notempty
|
|
%end
|