setup networking so that non-Rocky repos can be reached
This commit is contained in:
parent
a8ffd2ea6d
commit
2753013996
@ -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
|
||||
|
@ -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
6
includes/pre-install.ksi
Normal file
@ -0,0 +1,6 @@
|
||||
%pre
|
||||
|
||||
# Setup networking temporarily
|
||||
echo "nameserver 1.1.1.1" > /etc/resolv.conf
|
||||
|
||||
%end
|
Loading…
Reference in New Issue
Block a user