#platform=86, AMD64, or Intel EM64T #version=DEVEL # System authorization information auth --useshadow --passalgo=sha512 # Install OS instead of upgrade install # Use network installation #url --url="http://mirrors.metrici.ro/centos/7.5.1804/os/x86_64" #url --url="http://mirrors.xservers.ro/centos/7/os/x86_64" url --url="http://ftp.ines.lug.ro/centos/7/os/x86_64" #url --url="http://centos.mirrors.telekom.ro/7/os/x86_64" # License agreement eula --agreed # Use graphical install graphical # Firewall configuration firewall --disabled firstboot --disable ignoredisk --only-use=sda # Keyboard layouts # old format: keyboard us # new format: keyboard --vckeymap=us --xlayouts='us' # System language lang en_US.UTF-8 # Network information network --bootproto=dhcp --device=eno1 --ipv6=auto --activate #network --bootproto=dhcp --device=enp2s0 --ipv6=auto --activate network --hostname=metrici # Halt after installation #halt reboot # Root password rootpw --iscrypted $1$1RtZieJV$jEb4U7qH/.gMSaw2lR.tM. # SELinux configuration selinux --disabled # System services services --disabled="chronyd" # System timezone timezone Europe/Bucharest --isUtc --nontp user --groups=wheel --name=metrici --password=$6$HAxHT450c4qCq3Ao$Jo1RT0mYxz859nUeDMckTZAXLQzUv/GmPssy0DNvPL7HVbvO0lgqmYEojmb6jBXXnStAOSnOZBumSIlgQh.bn1 --iscrypted --gecos="metrici" # X Window System configuration information xconfig --startxonboot # System bootloader configuration bootloader --append=" crashkernel=auto" --location=mbr --boot-drive=sda # Partition clearing information clearpart --all # Disk partitioning information #part / --fstype="xfs" --ondisk=sda --size=100000 --grow part / --fstype="ext4" --ondisk=sda --size=10000 --grow part swap --fstype="swap" --ondisk=sda --size=8192 %packages @^gnome-desktop-environment @base @core @desktop-debugging @dial-up @directory-client @fonts @gnome-desktop @guest-agents @guest-desktop-agents @input-methods @internet-browser @java-platform @multimedia @network-file-system-client @networkmanager-submodules @print-client @x11 kexec-tools kexec-tools %end %addon com_redhat_kdump --enable --reserve-mb='auto' %end