setup networking so that non-Rocky repos can be reached

This commit is contained in:
Pratham Patel 2023-07-29 08:27:22 +05:30
parent a8ffd2ea6d
commit 2753013996
No known key found for this signature in database
3 changed files with 8 additions and 4 deletions

View File

@ -1,6 +1,7 @@
%include includes/user-setup.ksi
%include includes/base-config.ksi
%include includes/disk-layout.ksi
%include includes/package-list.ksi
%include includes/post-install.ksi
%include includes/pre-install.ksi
%include includes/rocky-9-repos.ksi
%include includes/user-setup.ksi

View File

@ -2,9 +2,6 @@
%post
# Setup networking temporarily
echo "nameserver 1.1.1.1" > /etc/resolv.conf
# The script that expands root partition
[ -d /usr/local/bin ] || mkdir --verbose /usr/local/bin
curl 'https://git.resf.org/thefossguy/rocky-linux-generic-images/raw/branch/r9/scripts/expand-rootfs.sh' --output /usr/local/bin/expand-rootfs.sh

6
includes/pre-install.ksi Normal file
View File

@ -0,0 +1,6 @@
%pre
# Setup networking temporarily
echo "nameserver 1.1.1.1" > /etc/resolv.conf
%end