Re: Re: Re: Re: Re: centos8 kickstart

From Chocolate Crane, 3 Years ago, written in Plain Text, viewed 313 times. This paste is a reply to Re: Re: Re: Re: centos8 kickstart from Chocolate Lizard - view diff
URL https://paste.steamr.com/view/32615695 Embed
Download Paste or View Raw
  1. #version=RHEL8
  2. # Use graphical install
  3. graphical
  4.  
  5. repo --name="Minimal" --baseurl=file:///run/install/sources/mount-0000-cdrom/Minimal
  6.  
  7. %packages
  8. @^minimal-environment
  9. @standard
  10. yum-utils
  11.  
  12. %end
  13.  
  14. # Keyboard layouts
  15. keyboard --xlayouts='us'
  16. # System language
  17. lang en_US.UTF-8
  18.  
  19. # Network information
  20. network  --bootproto=dhcp --device=ens160 --ipv6=auto --activate
  21. network  --hostname=rocky
  22.  
  23. # Use CDROM installation media
  24. cdrom
  25.  
  26. # Run the Setup Agent on first boot
  27. firstboot --disable
  28. reboot
  29. selinux --disabled
  30.  
  31. clearpart --all --initlabel --drives=nvme0n1
  32. ignoredisk --only-use=nvme0n1
  33. # Partition clearing information
  34. clearpart --none --initlabel
  35. # Disk partitioning information
  36. part /boot --fstype="xfs" --ondisk=nvme0n1 --size=512
  37. part / --fstype="xfs" --ondisk=nvme0n1 --size=7679
  38.  
  39. # System timezone
  40. timezone America/Edmonton --isUtc --nontp
  41.  
  42. # Root password
  43. rootpw --iscrypted $6$ne1H.s2XHWktKM23$nNss8xVLKQMi9ftZJKeSKqdc1VsdC0d4R3R.wI6jU16VXan3I2I0lM0DPUBobqRVK2Dmbb6j4KC9H/quLcWUY.
  44.  
  45. %pre
  46. dd if=/dev/zero of=/dev/nvme0n1 bs=512 count=400000
  47. %end
  48.  
  49. %post
  50. yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
  51. rpm --import https://download.docker.com/linux/centos/gpg
  52. dnf -y install docker-ce docker-ce-cli containerd.io
  53. dnf -y install https://zfsonlinux.org/epel/zfs-release.el8_4.noarch.rpm
  54. dnf -y install epel-release
  55. dnf -y install kernel-devel zfs
  56. %end
  57.  
  58. %addon com_redhat_kdump --disable --reserve-mb='auto'
  59.  
  60. %end
  61.  
  62. %anaconda
  63. pwpolicy root --minlen=6 --minquality=1 --notstrict --nochanges --notempty
  64. pwpolicy user --minlen=6 --minquality=1 --notstrict --nochanges --emptyok
  65. pwpolicy luks --minlen=6 --minquality=1 --notstrict --nochanges --notempty
  66. %end
  67.  

Reply to "Re: Re: Re: Re: Re: centos8 kickstart"

Here you can reply to the paste above