Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #version=RHEL8
- ignoredisk --only-use=vda
- # System bootloader configuration
- bootloader --append=" crashkernel=auto" --location=mbr --boot-drive=vda
- #autopart --type=lvm
- # Partition clearing information
- clearpart --all --initlabel --drives=vda
- ###
- part pv.157 --fstype="lvmpv" --ondisk=vda --size=1 --grow
- part /boot --fstype="xfs" --ondisk=vda --size=1024
- volgroup VG00 --pesize=4096 pv.157
- logvol / --fstype="xfs" --size=1 --grow --name=root --vgname=VG00
- logvol swap --fstype="swap" --size=2048 --name=swap --vgname=VG00
- ###
- # Use text mode install
- text
- # Use CDROM installation media
- cdrom
- # Keyboard layouts
- keyboard --vckeymap=us --xlayouts=''
- # System language
- lang en_US.UTF-8
- # Network information
- network --bootproto=dhcp --device=ens3 --ipv6=auto --no-activate
- network --bootproto=dhcp --device=ens4 --ipv6=auto --no-activate
- #network --bootproto=dhcp --device=ens4 --onboot=off --ipv6=auto
- network --hostname=localhost.localdomain
- #repo --name="AppStream" --baseurl=file:///run/install/repo/AppStream
- # Root password
- rootpw --iscrypted $6$kEMvDBnSyJNpm0m1$sGz6jEoLqOT3BXSw1GHdyysz4QXjG4OSNPi0Z9oR0CiXbx4XQONPzwOhgLm2qfYwZ4wJHc9CH3p.hAzZ0R2Tp0
- ###
- user --name=admin --plaintext --password admin --gecos="ADMIN" --groups=wheel
- ###
- # 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
- %packages
- @^minimal-environment
- kexec-tools
- ###
- tcpdump
- lsof
- net-tools
- tree
- setroubleshoot
- yum-utils
- wget
- mailx
- bind-utils
- nmap-ncat
- telnet
- git
- bash-completion
- vim-enhanced
- %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
- poweroff
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement