From 701c2785b8f1411dc26a23c5944f188ef4884a06 Mon Sep 17 00:00:00 2001 From: Neil Hanlon Date: Wed, 20 Oct 2021 15:16:27 -0400 Subject: [PATCH] Update container image to build w/o ISO --- Rocky-8-Container.ks | 52 +++++++++++++++++++++++--------------------- 1 file changed, 27 insertions(+), 25 deletions(-) diff --git a/Rocky-8-Container.ks b/Rocky-8-Container.ks index e075844..559f91f 100644 --- a/Rocky-8-Container.ks +++ b/Rocky-8-Container.ks @@ -8,17 +8,19 @@ # # Basic setup information -text -keyboard us -rootpw --lock --iscrypted locked -timezone --isUtc --nontp UTC -selinux --enforcing + +url --url https://dl.rockylinux.org/pub/rocky/8/BaseOS/$basearch/os/ + +bootloader --disable firewall --disabled network --bootproto=dhcp --device=link --activate --onboot=on +rootpw --lock --iscrypted locked +selinux --enforcing shutdown -bootloader --disable -lang en_US.UTF-8 +keyboard us +lang en_US.UTF-8 +timezone --isUtc --nontp UTC # Disk setup zerombr @@ -27,37 +29,37 @@ autopart --noboot --nohome --noswap --nolvm --fstype=ext4 # Package setup %packages --excludedocs --instLangs=en --nocore --excludeWeakdeps -rocky-release -binutils --brotli bash -hostname -rootfiles +binutils coreutils-single glibc-minimal-langpack -vim-minimal -less --gettext* --firewalld --os-prober* -tar --iptables +hostname iputils --kernel +less +rocky-release +rootfiles +tar +vim-minimal +yum + +-brotli -dosfstools -e2fsprogs +-firewalld -fuse-libs +-gettext* -gnupg2-smime +-grub\* +-iptables +-kernel -libss +-os-prober* -pinentry +-qemu-guest-agent -shared-mime-info -trousers --xkeyboard-config -xfsprogs --qemu-guest-agent -yum --grub\* - +-xkeyboard-config %end %post --erroronfail --log=/root/anaconda-post.log