#### prepping ks.cfg for exalearn4 (asus 2U gpu node, sdb + sdc mirror ) #### based on hep2.run2.anaconda.ks.cfg, ## which was: #### 2nd install done from home using raritan #### gui installer had problem verifying disk config #### had to get a terminal and fdisk out old partition #### lots of fiddle, finally worked ## ++ review disk config, which should include mirror ++ #### in kickstart the usb cdrom is sda? #### thus 2 internal hd seen as sdb, sdc #### ks.cfg below use those #### but after reboot, os see them as sda,sdb #### fstab refer to /dev/md126 and /dev/md127, likely using disk label anyway, #### so dont worry too much about sdX name remapping. #### select "install CentOS 7", press TAB, append this: #### ks=http://scs-repo.lbl.gov/ks/exa4.ks.cfg #### backspace may not work correctly, try to avoid typo! #### tin 2021.0422 #### CentOS 7 will have a TUI menu (or graphical?) #### allowing to (8) set root password, (9) user creation, (7) Net config, etc install #version=DEVEL # System authorization information auth --enableshadow --passalgo=sha512 # Use CDROM installation media ##cdrom # Use graphical install # graphical # Use text mode install text skipx # Run the Setup Agent on first boot #xx firstboot --enable #xx ignoredisk --only-use=sdc,sdb # Keyboard layouts keyboard --vckeymap=us --xlayouts='us' # System language lang en_US.UTF-8 # Network information network --bootproto=dhcp --device=enp2s0f0 --onboot=on --ipv6=auto #--no-activate network --bootproto=dhcp --device=enp2s0f1 --onboot=on --ipv6=auto network --bootproto=dhcp --device=enp66s0f0 --onboot=on --ipv6=auto network --bootproto=dhcp --device=enp66s0f1 --onboot=on --ipv6=auto network --bootproto=dhcp --device=enp69s0f3u2u3c2 --onboot=off --ipv6=auto ##network --hostname=ml4hep1 network --hostname=exalearn4 # Root password ##rootpw --iscrypted crypt-redacted # System services services --enabled="chronyd" # System timezone timezone America/Los_Angeles ##timezone America/New_York --isUtc # System bootloader configuration bootloader --append=" crashkernel=auto" --location=mbr --boot-drive=sdb # Partition clearing information ##clearpart --none --initlabel clearpart --drives=sdb,sdc --initlabel # Disk partitioning information part raid.0101 --fstype="mdmember" --ondisk=sdb --size=1621 # /boot part raid.0102 --fstype="mdmember" --ondisk=sdb --size=227314 --grow part raid.0201 --fstype="mdmember" --ondisk=sdc --size=1621 part raid.0202 --fstype="mdmember" --ondisk=sdc --size=227314 --grow raid pv.3000 --device=pv00 --fstype="lvmpv" --level=RAID1 raid.0102 raid.0202 raid /boot --device=boot --fstype="xfs" --level=RAID1 --label=boot raid.0101 raid.0201 volgroup centos --pesize=4096 pv.3000 logvol / --fstype="xfs" --size=99284 --label="root" --name=root --vgname=centos # 80G Free PE exist logvol swap --fstype="swap" --size=8760 --name=swap --vgname=centos # ~8G, inside LVM %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