I have a kickstart config that works… but it’s slow.
For example we get this…
[ 12.569744] dracut-initqueue[1257]: % Total % Received % Xferd Average Speed Time Time Time Current
[ 12.574018] dracut-initqueue[1257]: Dload Upload Total Spent Left Speed
100 740M 100 740M 0 0 2414k 0 0:05:13 0:05:13 --:--:-- 2824k
and there it seems to hang for about 5 minutes 'cos the next output is
[ 335.329854] loop0: detected capacity change from 0 to 1516120
There’s then another long delay at
.Checking storage configuration...
..
................................................................................
................................................................................
....................
Eventually it works!
But it’s slow.
The command (ultimately, after wrappers) that’s used to build is (according to the ps
listing) on a Rocky8 server:
usr/libexec/platform-python /usr/bin/virt-install --noreboot -n test92 -r 3073 --vcpus=1 --os-variant=rhel7.0 --accelerate -v --network=bridge=br-lan,target=v-test92 --disk path=/dev/Raid68/vm.test92 -l https://dl.rockylinux.org/pub/rocky/9/BaseOS/x86_64/kickstart/ --nographics -x inst.ks=http://10.0.0.137/CentOS/kickstart/rocky9.cfg ksdevice=ens2 ip=dhcp console=ttyS0,9600
My kickstart file is simple:
text
url --url https://dl.rockylinux.org/pub/rocky/9/BaseOS/x86_64/os
repo --name=AppStream --mirrorlist https://mirrors.rockylinux.org/mirrorlist?repo=AppStream-9&arch=x86_64
poweroff
lang en_US.UTF-8
keyboard us
network --onboot yes --device eth0 --bootproto dhcp --ipv6 auto
rootpw --iscrypted $6$yeahyeahyeah
firewall --disabled
selinux --disabled
timezone --utc America/New_York
zerombr
clearpart --all --initlabel
part /boot --fstype=ext4 --asprimary --size=1024
part swap --asprimary --size=1024
part / --fstype=ext4 --asprimary --grow --size=1
%packages
@^minimal-environment
wget
ksh
dos2unix
logwatch
tar
postfix
bind-utils
bc
-iw*-firmware
%end
%addon com_redhat_kdump --disable --reserve-mb='auto'
%end
Am I doing something stupid?