#version=RHEL7 install # System authorization information auth --enableshadow --passalgo=sha512 # Use network installation url --url="http://centos.mirror.garr.it/centos/7/os/x86_64/" # Run the Setup Agent on first boot firstboot --enable #ignoredisk --only-use=vda selinux --disabled services --enabled=sshd # 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=eth0 --noipv6 --activate #network --bootproto=dhcp --device=eth1 --onboot=off --ipv6=auto # Root password rootpw --iscrypted $6$2jSW5lhm5nUcOt.U$pEEM1vJDzBgrhstq7KIRbTetINNBYUFqnXGPgaUOphK.Jyuedh/OUr73R8/QP67JJnOQXEUip3TjlfWL6UQxM0 # System timezone timezone Europe/Rome --isUtc # System bootloader configuration ##bootloader --location=mbr --boot-drive=vda # Partition clearing information ##earpart --all --initlabel --drives=vda # Disk partitioning information #part /boot --fstype="ext4" --ondisk=vda --size=500 --label=/boot #part swap --fstype="swap" --ondisk=vda --size=1000 #part / --fstype="ext4" --ondisk=vda --grow --label=/ reboot %packages @core vim-enhanced %end %addon com_redhat_kdump --disable --reserve-mb='auto' %end