temp_centos7.cfg 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. # Install OS instead of upgrade
  2. install
  3. # SELinux configuration
  4. selinux --disabled
  5. # Firewall configuration
  6. firewall --disabled
  7. # text install
  8. text
  9. # Do not configure the X Window System
  10. skipx
  11. ignoredisk --only-use=sda
  12. # Keyboard layouts
  13. keyboard us
  14. # System language
  15. lang ks_language
  16. # Network information
  17. network --bootproto=dhcp --device=link --onboot=on --activate
  18. # Root password
  19. rootpw --iscrypted ks_password
  20. # System services
  21. services --enabled="chronyd"
  22. # System timezone
  23. timezone --utc ks_timezone
  24. # System bootloader configuration
  25. bootloader --location=mbr --boot-drive=sda
  26. # Partition clearing information
  27. clearpart --all --initlabel --drives=sda
  28. # Clear the Master Boot Record
  29. zerombr
  30. # Disk Partitioning
  31. partition /boot/efi --asprimary --fstype=vfat --label EFI --size=200
  32. partition /boot --asprimary --fstype=ext4 --label BOOT --size=500
  33. partition / --asprimary --fstype=ext4 --label ROOT --size=4096 --grow
  34. # Reboot after installation
  35. reboot
  36. %packages
  37. @core
  38. net-tools
  39. %end
  40. %post --log=/root/ks-post.log
  41. yum groupinstall "Infiniband Support" -y
  42. yum install infiniband-diags perftest qperf -y
  43. %end