forgot that %post and %end must be specified instead of bare bash

This commit is contained in:
Pratham Patel 2023-11-20 18:07:25 +05:30
parent b169f69740
commit e8441c436c
No known key found for this signature in database

View File

@ -1,5 +1,8 @@
%post
# enable network access in the chroot # enable network access in the chroot
set -x
[ -f /etc/resolv.conf ] || echo "nameserver 1.1.1.1" > /etc/resolv.conf [ -f /etc/resolv.conf ] || echo "nameserver 1.1.1.1" > /etc/resolv.conf
%end
%include grub-setup.ksi %include grub-setup.ksi
%include rpm-repos-enable.ksi %include rpm-repos-enable.ksi