#platform=x86, AMD64, or Intel EM64T #version=DEVEL # Install OS instead of upgrade install # X Window System configuration information xconfig --startxonboot # Keyboard layouts # old format: keyboard us # new format: keyboard --vckeymap=us --xlayouts='us' # Root password rootpw --plaintext password # System language lang en_US # Regular Username, user=user password=password user --groups=wheel --name=user --password=$6$W.AEAS5RtuVKnQ9F$LH8gIztGr8SFlavG069015cTwO341YwyKA9wLtrQJlKq1FjOxUCBRZifjpYGSYFhtjYKypsE2Az72G3X32ham1 --iscrypted --gecos="user" # Firewall configuration firewall --disabled # System authorization information auth --useshadow --passalgo=sha512 # Use graphical install graphical # Run the Setup Agent on first boot firstboot --enable # SELinux configuration selinux --enforcing # System services services --disabled="chronyd" #ignoredisk --only-use=vda # Network information network --bootproto=static --device=ens3 --gateway=192.168.4.2 --ip=192.168.4.151 --nameserver=192.168.4.2 --netmask=255.255.255.0 #network --bootproto=dhcp --device=None # Halt after installation #halt reboot # System timezone timezone America/Los_Angeles --nontp # System bootloader configuration bootloader --location=mbr --boot-drive=sda # Clear the Master Boot Record zerombr # Partition clearing information clearpart --all --initlabel # Disk partitioning information 7GB HArd Drive part /boot --fstype=xfs --size=512 part pv.01 --size=1 --grow volgroup myvg pv.01 logvol / --fstype=xfs --name=lv_root --vgname=myvg --size=5120 logvol swap --name=lv_swap --vgname=myvg --grow --size=1024 --maxsize=1024 %packages #@^graphical-server-environment @base @core vim bash-completion #@desktop-debugging #dial-up #fonts #gnome-desktop #guest-agents #guest-desktop-agents #hardware-monitoring #input-methods #internet-browser #multimedia #print-client #x11 #exec-tools %end