What were you trying to do that didn't work?
Run a kickstart installation with a disk partitioning layout not having enough disk space for the selected packages.
When such an installation is executed in text mode, anaconda checks the disk space and do not start the installation, which is expected.
In cmdline mode, anaconda starts the installation (formatting the disk, downloading the packages), and fails later when running the RPM transaction or installing flatpaks due to insufficient disk space.
An example kickstart file with 1GB rootfs:
lang en_US.UTF-8 keyboard us reboot cmdline rootpw redhat timezone --utc America/New_York bootloader --location=mbr zerombr clearpart --all --initlabel reqpart part / --size=1024 %packages --default %end
Please provide the package NVR for which the bug is seen:
anaconda-40.22.3.39-1.el10
How reproducible is this bug?:
Always
Steps to reproduce
- Use the kickstart above to try to install RHEL in cmdline mode.
Expected results
The installer should complain about insufficient disk space BEFORE formatting disks and downloading packages. This is how text mode behaves.
Actual results
Disks are formatted, packages downloaded, RPM transactions fails. Logs are available in ATTACH-15479.