temp_centos8.ks 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. #platform=x86, AMD64, or Intel EM64T
  2. #version=DEVEL
  3. # Firewall configuration
  4. firewall --disabled
  5. # Install OS instead of upgrade
  6. install
  7. # Use network installation
  8. url --url http://ip/cblr/links/CentOS8-x86_64/
  9. #repo --name="CentOS" --baseurl=cdrom:sr0 --cost=100
  10. #Root password
  11. rootpw --iscrypted password
  12. # Use graphical install
  13. #graphical
  14. #Use text mode install
  15. text
  16. #System language
  17. lang en_US
  18. #System keyboard
  19. keyboard us
  20. #System timezone
  21. timezone America/Phoenix --isUtc
  22. # Run the Setup Agent on first boot
  23. #firstboot --enable
  24. # SELinux configuration
  25. selinux --disabled
  26. # Do not configure the X Window System
  27. skipx
  28. # Installation logging level
  29. #logging --level=info
  30. # Reboot after installation
  31. reboot
  32. # System services
  33. services --disabled="chronyd"
  34. ignoredisk --only-use=sda
  35. # Network information
  36. network --bootproto=dhcp --device=em1 --onboot=on
  37. # System bootloader configuration
  38. bootloader --location=mbr --boot-drive=sda
  39. # Clear the Master Boot Record
  40. zerombr
  41. # Partition clearing information
  42. clearpart --all --initlabel
  43. # Disk partitioning information
  44. part /boot --fstype="xfs" --size=300
  45. part swap --fstype="swap" --size=2048
  46. part pv.01 --size=1 --grow
  47. volgroup root_vg01 pv.01
  48. logvol / --fstype xfs --name=lv_01 --vgname=root_vg01 --size=1 --grow
  49. %packages
  50. @core
  51. %end