#version=RHEL8 text install # Keyboard layouts keyboard --vckeymap=fr --xlayouts='fr' # System language lang en_US.UTF-8 url --url http://192.168.122.1/rhel8 # Network information network --bootproto=dhcp --device=ens3 --ipv6=auto --activate --onboot=on --hostname=vm-luks8-ks repo --install --name="BaseOS" --baseurl=http://pulp.dist.prod.ext.phx2.redhat.com/content/dist/rhel8/8/x86_64/baseos/os/ repo --install --name="AppStream" --baseurl=http://pulp.dist.prod.ext.phx2.redhat.com/content/dist/rhel8/8/x86_64/appstream/os/ # Root password rootpw --iscrypted $6$eM6aN.oS7FwCQm05$opiAg.C9rLwenNawK1.gi0to.2daScpgcv/vEVQVK3nGNi/SlEnHCyAUDGidncfJxkwF502tRYgQzG6B.gOkG1 # Run the Setup Agent on first boot firstboot --enable # Do not configure the X Window System skipx # System services services --disabled="chronyd" # System timezone timezone Europe/Paris --isUtc --nontp ignoredisk --only-use=vda clearpart --all --initlabel bootloader --location=mbr part /boot --fstype=ext4 --size=512 --ondisk=/dev/vda part pv.0 --ondisk=/dev/vda --size=1 --grow --encrypted --cipher aes-cbc-essiv:sha256 --passphrase=redhat volgroup rootvg pv.0 logvol / --name=root --vgname=rootvg --fstype=ext4 --size=4096 --fsoptions=noatime #logvol /home --name=home --vgname=rootvg --fstype=ext4 --size=1 --grow --fsoptions=noatime #logvol /var --name=var --vgname=rootvg --fstype=ext4 --size=2048 --fsoptions=noatime #logvol /var/log --name=log --vgname=rootvg --fstype=ext4 --size=1024 --fsoptions=noatime #logvol /var/log/audit --name=audit --vgname=rootvg --fstype=ext4 --size=1024 --fsoptions=noatime %packages @^minimal-environment @guest-agents %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