#### hep2.ks.cfg adapted from hep1 and exa3 #### select "install CentOS 7", press TAB, append this: #### ks=http://scs-repo.lbl.gov/ks/hep2.ks.cfg #### backspace may not work correctly, try to avoid typo! #### tin 2021.0329 #### CentOS 7 will have a TUI menu (or graphical?) #### allowing to (8) set root password, (9) user creation, (7) Net config, etc #### worked as expected, install from rpm on DVD ISO for VM #### VBox created hd as sda #### could do disk mirror manually, then save the resulting /root/anaconda-ks.cfg #version=DEVEL # System authorization information auth --enableshadow --passalgo=sha512 # Use CDROM installation media cdrom # Use text mode install ## text # Use graphical install graphical # Run the Setup Agent on first boot #xx firstboot --enable #xx ignoredisk --only-use=nvme0n1 ##++ # Keyboard layouts keyboard --vckeymap=us --xlayouts='us' # System language lang en_US.UTF-8 # Network information network --bootproto=dhcp --device=enp194s0f0 --onboot=off --ipv6=auto --no-activate network --bootproto=dhcp --device=enp194s0f1 --onboot=on --ipv6=auto network --bootproto=dhcp --device=enp2s0f0 --onboot=off --ipv6=auto network --bootproto=dhcp --device=enp2s0f1 --onboot=off --ipv6=auto network --bootproto=dhcp --device=enp67s0f3u2u3c2 --onboot=off --ipv6=auto network --hostname=localhost.localdomain ##++ # Root password ##rootpw --iscrypted crypt-redacted # System services services --enabled="chronyd" # System timezone timezone America/Los_Angeles # System bootloader configuration ##bootloader --append=" crashkernel=auto" --location=mbr --boot-drive=nvme0n1 ##++ bootloader --append=" crashkernel=auto" --location=mbr ##++ autopart --type=lvm # Partition clearing information ##clearpart --none --initlabel clearpart --all --initlabel %packages @^minimal @core chrony 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