| 1 | # CentOS aarch64 image kickstart file. |
| 2 | # This file is used by the CentOS installer to |
| 3 | # script the generation of the image. |
| 4 | # |
| 5 | # Copyright 2020 Linaro |
| 6 | # |
| 7 | ignoredisk --only-use=vda |
| 8 | # System bootloader configuration |
| 9 | bootloader --append=" crashkernel=auto" --location=mbr --boot-drive=vda |
| 10 | autopart --type=plain |
| 11 | # Partition clearing information |
| 12 | clearpart --linux --initlabel --drives=vda |
| 13 | # Use text mode install |
| 14 | text |
| 15 | repo --name="AppStream" --baseurl=file:///run/install/repo/AppStream |
| 16 | # Use CDROM installation media |
| 17 | cdrom |
| 18 | # Keyboard layouts |
| 19 | keyboard --vckeymap=us --xlayouts='' |
| 20 | # System language |
| 21 | lang en_US.UTF-8 |
| 22 | |
| 23 | # Network information |
| 24 | network --bootproto=dhcp --device=enp0s1 --onboot=off --ipv6=auto --no-activate |
| 25 | network --hostname=localhost.localdomain |
| 26 | # Run the Setup Agent on first boot |
| 27 | firstboot --enable |
| 28 | # Do not configure the X Window System |
| 29 | skipx |
| 30 | # System services |
| 31 | services --enabled="chronyd" |
| 32 | # System timezone |
| 33 | timezone America/New_York --isUtc |
| 34 | |
| 35 | # Shutdown after installation is complete. |
| 36 | shutdown |
| 37 | |
| 38 | %packages |
| 39 | @^server-product-environment |
| 40 | kexec-tools |
| 41 | |
| 42 | %end |
| 43 | |
| 44 | %addon com_redhat_kdump --enable --reserve-mb='auto' |
| 45 | |
| 46 | %end |
| 47 | %anaconda |
| 48 | pwpolicy root --minlen=6 --minquality=1 --notstrict --nochanges --notempty |
| 49 | pwpolicy user --minlen=6 --minquality=1 --notstrict --nochanges --emptyok |
| 50 | pwpolicy luks --minlen=6 --minquality=1 --notstrict --nochanges --notempty |
| 51 | %end |