#version=RHEL8
ignoredisk --only-use=vda
autopart --type=lvm
# Partition clearing information
clearpart --all --initlabel --drives=vda
# Use graphical install
graphical
repo --name="AppStream" --baseurl=http://10.0.0.57/centos/8/BaseOS/x86_64/os/../../../AppStream/x86_64/os/
# Use network installation
url --url="http://10.0.0.57/centos/8/BaseOS/x86_64/os/"
# Keyboard layouts
keyboard --vckeymap=de-nodeadkeys --xlayouts='de (nodeadkeys)'
# System language
lang en_GB.UTF-8

# Network information
network  --bootproto=dhcp --device=ens3 --ipv6=auto --activate
network  --hostname=vml000xxx.dmz.nausch.org
# Root password
rootpw --iscrypted $6$qKYVPTB/XbETdalD$9KDd5AO0OgIOLyylavv3y3YOkzrQJqAoPrqbLrxGS94/G1NudgUDLLNlsgVyeDXO9l3vaxYqdZf3abGnQbUME0
# Run the Setup Agent on first boot
firstboot --enable
# Do not configure the X Window System
skipx
# System services
services --enabled="chronyd"
# System timezone
timezone Europe/Berlin --isUtc --ntpservers=vml000027.dmz.nausch.org
user --name=django --password=$6$9eYDL2WNe4YXU/VK$ZWa2Ddj1n6GG.Hb8bmMZ/A2MTenEdmfd.jB0qlqyVnLtjSSlG/Wn0hdLpvboWWm49oXDEvIXq8bzox4.LXfq0. --iscrypted --gecos="Bastard Operator from Hell"

%packages
@^minimal-environment

%end

%addon com_redhat_kdump --disable --reserve-mb='auto'

%end

%anaconda
pwpolicy root --minlen=6 --minquality=1 --notstrict --nochanges --notempty
pwpolicy user --minlen=6 --minquality=1 --notstrict --nochanges --emptyok
pwpolicy luks --minlen=6 --minquality=1 --notstrict --nochanges --notempty
%end