%post -interpreter=/usr/bin/bash -log /root/post-install. # Post-install activities (runs in installed system unless -nochroot option is used) H=$( grep $MAC_ADDR /mnt/ks/supplemental/hostnames | cut -d' ' -f2 )Ĭp /mnt/ks/supplemental/dell-system-update.repo /mnt/sysroot/etc/ However, by design, the authselect-compat package is only available in the AppStream repository. Without this package, the installation fails if auth or authconfig are used. Mount -t nfs -o nfsvers=4,nolock,ro os-storage:/os/ks /mnt/ksĬp /mnt/ks/satellite-6-registration-vse.sh /mnt/sysroot/root/bin The authselect-compat package is required by the auth and authconfig Kickstart commands during installation. %pre-install -interpreter=/usr/bin/bash -log /mnt/sysroot/root/pre-install.logĮxport MAC_ADDR=$( nmcli -p -e no -get-values GENERAL.HWADDR device show eth0 | tr ) %addon com_redhat_kdump -enable -reserve-mb='auto'
# Other Options: don't configure X Window # Plymouth is excluded to eliminate graphical com_redhat_kdump -enable -reserve-mb='auto' # module -name=modulename -stream=streamname Logvol / -vgname=sys -name=root -fstype="xfs" -size=30720 -label="os_root" Logvol swap -vgname=sys -name=swap -fstype="swap" -recommended If that still fails, try setting the minimum time to 7 seconds and the maximum to 3 (yes, the maximum is less than the minimum, thats on purpose). On Kickstarts main page, under advanced settings, set the minimum execution time to 7 seconds and the maximum to 10. Part pv.01 -fstype="lvmpv" -ondisk=sda -size=20480 -grow There is a workaround for that but the exact values depend on your server. Part /boot -fstype="xfs" -ondisk=sda -size=1024 Network -bootproto=dhcp -device=eth1 -ipv6=ignore -activate -onboot=yes Network -bootproto=dhcp -device=eth0 -ipv6=ignore -activate -onboot=yes -hostname= Repo -name="AppStream" -baseurl=file:///run/install/repo/AppStream Here’s the bit from my PXELinux.cfg: label rocky84ks
When using the kickstart, I the installation of the rocky-repos package fails:ġ7:12:44,591 INF packaging: Installed: 1622180055 129bbf6850c3e02e81a6d9d65a6e2812ca8959aec22791ca49e3a5e2cdc7e706ġ7:12:44,592 ERR dnf.rpm: Error unpacking rpm package ġ7:12:44,645 INF dnf.rpm: error: unpacking of archive failed on file /etc//Rocky-AppStream.repo 60d100c0: cpio: open failed - Resource temporarily unavailableĮrror: : install failed
An install without using a kickstart file goes to completion without error. I’m having trouble installing Rocky 8.4 (GA) with a kickstart, using NFS repos copied from the DVD.