Advertisement
thantzinz

cent8-ks.cfg

Dec 27th, 2020
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.96 KB | None | 0 0
  1. #version=RHEL8
  2. ignoredisk --only-use=vda
  3. # System bootloader configuration
  4. bootloader --append=" crashkernel=auto" --location=mbr --boot-drive=vda
  5. #autopart --type=lvm
  6. # Partition clearing information
  7. clearpart --all --initlabel --drives=vda
  8. ###
  9. part pv.157 --fstype="lvmpv" --ondisk=vda --size=1 --grow
  10. part /boot --fstype="xfs" --ondisk=vda --size=1024
  11. volgroup VG00 --pesize=4096 pv.157
  12. logvol / --fstype="xfs" --size=1 --grow --name=root --vgname=VG00
  13. logvol swap --fstype="swap" --size=2048 --name=swap --vgname=VG00
  14. ###
  15. # Use text mode install
  16. text
  17. # Use CDROM installation media
  18. cdrom
  19. # Keyboard layouts
  20. keyboard --vckeymap=us --xlayouts=''
  21. # System language
  22. lang en_US.UTF-8
  23.  
  24. # Network information
  25. network --bootproto=dhcp --device=ens3 --ipv6=auto --no-activate
  26. network --bootproto=dhcp --device=ens4 --ipv6=auto --no-activate
  27. #network --bootproto=dhcp --device=ens4 --onboot=off --ipv6=auto
  28. network --hostname=localhost.localdomain
  29. #repo --name="AppStream" --baseurl=file:///run/install/repo/AppStream
  30. # Root password
  31. rootpw --iscrypted $6$kEMvDBnSyJNpm0m1$sGz6jEoLqOT3BXSw1GHdyysz4QXjG4OSNPi0Z9oR0CiXbx4XQONPzwOhgLm2qfYwZ4wJHc9CH3p.hAzZ0R2Tp0
  32. ###
  33. user --name=admin --plaintext --password admin --gecos="ADMIN" --groups=wheel
  34. ###
  35. # Run the Setup Agent on first boot
  36. firstboot --enable
  37. # Do not configure the X Window System
  38. skipx
  39. # System services
  40. services --enabled="chronyd"
  41. # System timezone
  42. timezone America/New_York --isUtc
  43.  
  44. %packages
  45. @^minimal-environment
  46. kexec-tools
  47. ###
  48. tcpdump
  49. lsof
  50. net-tools
  51. tree
  52. setroubleshoot
  53. yum-utils
  54. wget
  55. mailx
  56. bind-utils
  57. nmap-ncat
  58. telnet
  59. git
  60. bash-completion
  61. vim-enhanced
  62.  
  63.  
  64. %end
  65.  
  66. %addon com_redhat_kdump --enable --reserve-mb='auto'
  67.  
  68. %end
  69.  
  70. %anaconda
  71. pwpolicy root --minlen=6 --minquality=1 --notstrict --nochanges --notempty
  72. pwpolicy user --minlen=6 --minquality=1 --notstrict --nochanges --emptyok
  73. pwpolicy luks --minlen=6 --minquality=1 --notstrict --nochanges --notempty
  74. %end
  75. poweroff
  76.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement