lang en_US.UTF-8 keyboard us timezone UTC text reboot # Configure network to use DHCP and activate on boot network --bootproto=dhcp --device=link --activate --onboot=on --hostname=microshift-starter.local --noipv6 # Partition disk with a 1GB boot XFS partition and a 10GB LVM volume containing system root # The remainder of the volume will be used by the CSI driver for storing data zerombr clearpart --all --initlabel part /boot/efi --fstype=efi --size=200 part /boot --fstype=xfs --asprimary --size=800 part pv.01 --grow volgroup rhel pv.01 logvol / --vgname=rhel --fstype=xfs --size=10240 --name=root # Configure users rootpw --lock user --plaintext --name=redhat --password=redhat # Minimal package setup cdrom %packages @^minimal-environment bash-completion cockpit conmon conntrack-tools containernetworking-plugins containers-common container-selinux criu git jq make NetworkManager-ovs python36 selinux-policy-devel qemu-guest-agent %end # Post install configuration %post --log=/var/log/anaconda/post-install.log --erroronfail # Allow the default user to run sudo commands without password echo -e 'redhat\tALL=(ALL)\tNOPASSWD: ALL' > /etc/sudoers.d/redhat # Import Red Hat public keys to allow RPM GPG check (not necessary if a system is registered) if ! subscription-manager status >& /dev/null ; then rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-* fi tee /etc/yum.repos.d/rhocp-4.12-el8-beta-$(uname -i)-rpms.repo >/dev/null <