Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #version=RHEL7
- # System authorization information
- auth --enableshadow --passalgo=sha512
- # Use network installation
- url --url="ftp://192.168.1.119/pub/rhel7-0"
- # Run the Setup Agent on first boot
- firstboot --enable
- ignoredisk --only-use=vda
- # Keyboard layouts
- keyboard --vckeymap=us --xlayouts='us'
- # System language
- lang en_US.UTF-8
- # Network information
- 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
- # Root password
- rootpw --iscrypted $6$ANnauXIZOVkL0Tvp$Sp5/OSZwg0ENsmc1nmkrOabNBc9dPwbHZnrgDuvK5lzxTOs1mlmEEwByBwgKe5iVQbVWJxXIjoBoStAtJlSGm/
- # System timezone
- timezone Pacific/Honolulu --isUtc
- user --name=user230 --password=$6$drMttB5Yc5D/gxYy$B.YEaDpnloUa6SKsUz4aT6rG4WnUkWV2TolUn1ofJMDLw8kZubOG0lcCIzetlii8vbya5hryvWn0.6dtBtw9u. --iscrypted
- # X Window System configuration information
- xconfig --startxonboot
- # System bootloader configuration
- bootloader --location=mbr --boot-drive=vda
- # Clear the Master Boot Record
- zerombr
- # Partition clearing information
- #clearpart --all --initlabel --drives=vda
- # Disk partitioning information
- part /boot --fstype="xfs" --ondisk=vda --size=200
- part pv.0 --fstype="lvmpv" --ondisk=vda --size=1 --grow
- volgroup rhel_server230 --pesize=4096 pv.0
- logvol /home --fstype="xfs" --size=500 --name=lvol7 --vgname=rhel_server230
- logvol swap --fstype="swap" --size=1000 --name=lvol2 --vgname=rhel_server230
- logvol / --fstype="xfs" --size=4000 --name=lvol1 --vgname=rhel_server230
- logvol /tmp --fstype="xfs" --size=500 --name=lvol6 --vgname=rhel_server230
- logvol /usr --fstype="xfs" --size=4000 --name=lvol3 --vgname=rhel_server230
- logvol /opt --fstype="xfs" --size=1000 --name=lvol5 --vgname=rhel_server230
- logvol /var --fstype="xfs" --size=2000 --name=lvol4 --vgname=rhel_server230
- %packages
- @base
- @core
- @desktop-debugging
- @dial-up
- @fonts
- @gnome-desktop
- @guest-agents
- @guest-desktop-agents
- @input-methods
- @internet-browser
- @multimedia
- @print-client
- @x11
- %end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement