From e8441c436c61c74979afe1ac4bf2dfefa2ec1c42 Mon Sep 17 00:00:00 2001 From: Pratham Patel Date: Mon, 20 Nov 2023 18:07:25 +0530 Subject: [PATCH] forgot that %post and %end must be specified instead of bare bash --- includes/post/post-install.ksi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/includes/post/post-install.ksi b/includes/post/post-install.ksi index ad3a521..3bcd508 100644 --- a/includes/post/post-install.ksi +++ b/includes/post/post-install.ksi @@ -1,5 +1,8 @@ +%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