%post # enable network access in the chroot set -x [ -f /etc/resolv.conf ] || echo "nameserver 1.1.1.1" > /etc/resolv.conf %end %include grub-setup.ksi %include rpm-repos-enable.ksi %include user-setup.ksi %include rpi-setup.ksi %include expand-rootfs.ksi %include cleanup.ksi