lang en_US # Run the Setup Agent on first boot firstboot --enable # Keyboard layouts keyboard --vckeymap=us --xlayouts='us' # System language # Network information network --bootproto=dhcp --device=p4p1 --onboot=on --ipv6=auto network --hostname=physical4.example.com # Root password rootpw "redhat" # System timezone timezone America/New_York user --name=student --password="redhat" --gecos="Student" # X Window System configuration information keyboard us timezone America/Toronto --isUtc rootpw redhat reboot cdrom bootloader --location=mbr --append=" rhgb quiet crashkernel=auto" zerombr auth --passalgo=sha512 --useshadow selinux --enforcing firewall --enabled --ssh skipx firstboot --disable ignoredisk --only-use=/dev/vda clearpart --all --initlabel part /boot --fstype=ext3 --size=500 --ondisk=/dev/vda part pv.0 --fstype=lvmpv --size=1000 --grow --ondisk=/dev/vda volgroup rhel --pesize=4096 pv.0 logvol / --vgname=rhel --fstype=xfs --size=5000 --name=rootvol logvol /home --vgname=rhel --fstype=xfs --size=100 --name=homevol logvol /var --vgname=rhel --fstype=xfs --size=2000 --name=varvol logvol /tmp --vgname=rhel --fstype=xfs --size=100 --name=tmpvol logvol /opt --vgname=rhel --fstype=xfs --size=100 --name=optvol %packages @additional-devel @base @compat-libraries @core @debugging @desktop-debugging @directory-client @fonts @gnome-desktop @guest-desktop-agents @input-methods @internet-browser @network-file-system-client @performance @perl-runtime @print-client @ruby-runtime @x11 %end