forgot that %post and %end must be specified instead of bare bash
This commit is contained in:
parent
b169f69740
commit
e8441c436c
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user