diff --git a/Rocky-9-aarch64-minimal.ks b/Rocky-9-aarch64-minimal.ks index 4a528e5..6c4e61d 100644 --- a/Rocky-9-aarch64-minimal.ks +++ b/Rocky-9-aarch64-minimal.ks @@ -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 diff --git a/includes/post-install.ksi b/includes/post-install.ksi index 3202892..7fc27b0 100644 --- a/includes/post-install.ksi +++ b/includes/post-install.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 diff --git a/includes/pre-install.ksi b/includes/pre-install.ksi new file mode 100644 index 0000000..a36cf15 --- /dev/null +++ b/includes/pre-install.ksi @@ -0,0 +1,6 @@ +%pre + +# Setup networking temporarily +echo "nameserver 1.1.1.1" > /etc/resolv.conf + +%end