Advertisement
theillien

Untitled

Jun 22nd, 2015
910
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.04 KB | None | 0 0
  1. #version=RHEL7
  2. # System authorization information
  3. auth --enableshadow --passalgo=sha512
  4.  
  5. # Use network installation
  6. url --url="ftp://192.168.1.119/pub/rhel7-0"
  7. # Run the Setup Agent on first boot
  8. firstboot --enable
  9. ignoredisk --only-use=vda
  10. # Keyboard layouts
  11. keyboard --vckeymap=us --xlayouts='us'
  12. # System language
  13. lang en_US.UTF-8
  14.  
  15. # Network information
  16. network --bootproto=static --device=eth0 --gateway=192.168.1.1 --ip=192.168.1.230 --nameserver=8.8.8.8 --netmask=255.255.255.0 --noipv6 --activate --hostname=server230.example.com
  17. # Root password
  18. rootpw --iscrypted $6$ANnauXIZOVkL0Tvp$Sp5/OSZwg0ENsmc1nmkrOabNBc9dPwbHZnrgDuvK5lzxTOs1mlmEEwByBwgKe5iVQbVWJxXIjoBoStAtJlSGm/
  19. # System timezone
  20. timezone Pacific/Honolulu --isUtc
  21. user --name=user230 --password=$6$drMttB5Yc5D/gxYy$B.YEaDpnloUa6SKsUz4aT6rG4WnUkWV2TolUn1ofJMDLw8kZubOG0lcCIzetlii8vbya5hryvWn0.6dtBtw9u. --iscrypted
  22. # X Window System configuration information
  23. xconfig --startxonboot
  24. # System bootloader configuration
  25. bootloader --location=mbr --boot-drive=vda
  26. # Clear the Master Boot Record
  27. zerombr
  28. # Partition clearing information
  29. #clearpart --all --initlabel --drives=vda
  30. # Disk partitioning information
  31. part /boot --fstype="xfs" --ondisk=vda --size=200
  32. part pv.0 --fstype="lvmpv" --ondisk=vda --size=1 --grow
  33. volgroup rhel_server230 --pesize=4096 pv.0
  34. logvol /home --fstype="xfs" --size=500 --name=lvol7 --vgname=rhel_server230
  35. logvol swap --fstype="swap" --size=1000 --name=lvol2 --vgname=rhel_server230
  36. logvol / --fstype="xfs" --size=4000 --name=lvol1 --vgname=rhel_server230
  37. logvol /tmp --fstype="xfs" --size=500 --name=lvol6 --vgname=rhel_server230
  38. logvol /usr --fstype="xfs" --size=4000 --name=lvol3 --vgname=rhel_server230
  39. logvol /opt --fstype="xfs" --size=1000 --name=lvol5 --vgname=rhel_server230
  40. logvol /var --fstype="xfs" --size=2000 --name=lvol4 --vgname=rhel_server230
  41.  
  42. %packages
  43. @base
  44. @core
  45. @desktop-debugging
  46. @dial-up
  47. @fonts
  48. @gnome-desktop
  49. @guest-agents
  50. @guest-desktop-agents
  51. @input-methods
  52. @internet-browser
  53. @multimedia
  54. @print-client
  55. @x11
  56.  
  57. %end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement