Advertisement
Guest User

Untitled

a guest
Jun 11th, 2020
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.34 KB | None | 0 0
  1. # https://docs.fedoraproject.org/en-US/fedora/f32/install-guide/appendixes/Kickstart_Syntax_Reference/
  2.  
  3. # Configure installation method
  4. install
  5. url --mirrorlist="https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-32&arch=x86_64"
  6. repo --name=fedora-updates --mirrorlist="https://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f32&arch=x86_64" --cost=0
  7. repo --name=rpmfusion-free --mirrorlist="https://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-32&arch=x86_64" --includepkgs=rpmfusion-free-release
  8. repo --name=rpmfusion-free-updates --mirrorlist="https://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-updates-released-32&arch=x86_64" --cost=0
  9. repo --name=rpmfusion-nonfree --mirrorlist="https://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-32&arch=x86_64" --includepkgs=rpmfusion-nonfree-release
  10. repo --name=rpmfusion-nonfree-updates --mirrorlist="https://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-updates-released-32&arch=x86_64" --cost=0
  11. repo --name=google-chrome --install --baseurl="https://dl.google.com/linux/chrome/rpm/stable/x86_64" --cost=0
  12.  
  13. # Configure Boot Loader
  14. bootloader --location=mbr --driveorder=sda
  15. #Initial user
  16. user --name "test" --iscrypted --password $1$wC3MpH6e$OnVMZOR4qNSpBzueOkg5R.
  17. # Remove all existing partitions
  18. clearpart --all --drives=sda
  19.  
  20. # Create Physical Partition
  21. part /boot --size=512 --asprimary --ondrive=sda --fstype=xfs
  22. part swap --size=10240 --ondrive=sda
  23. part / --size=8192 --grow --asprimary --ondrive=sda --fstype=xfs
  24.  
  25. # zerombr
  26. zerombr
  27.  
  28. # Configure Firewall
  29. firewall --disable
  30.  
  31. # Configure Network Interfaces
  32. network --onboot=yes --bootproto=dhcp --hostname=sina-laptop
  33.  
  34. # Configure Keyboard Layouts
  35. keyboard us
  36.  
  37. # Configure Language During Installation
  38. lang en_AU
  39.  
  40. # Services to enable/disable
  41. services --disabled=mlocate-updatedb,mlocate-updatedb.timer,bluetooth,bluetooth.target,geoclue,avahi-daemon
  42.  
  43. # Configure Time Zone
  44. timezone Australia/Sydney
  45.  
  46. # Configure X Window System
  47. xconfig --startxonboot
  48.  
  49. #System authorization infomation
  50. auth  --useshadow  --enablemd5
  51.  
  52. # Perform Installation in Text Mode
  53. text
  54.  
  55. # Package Selection
  56. %packages
  57. @core
  58. @standard
  59. @hardware-support
  60. @base-x
  61. @xfce-desktop
  62. @development-tools
  63. %end
  64.  
  65. # Post-installation Script
  66. %post --nochroot
  67. cp /home $LIVE_ROOT
  68. %end
  69.  
  70. # Reboot After Installation
  71. reboot --eject
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement