Unable to create Fedora 40 image. Receiving error while creating image using livemedia-creator

mock-chroot>livemedia-creator --ks fedora.cfg --no-virt --resultdir /var/lmc --project Fedora-minimal-workstation-Live --make-iso --volid Fedora-minimalworkstation-Live --iso-only --iso-name Fedora-minimal-workstation-Live.iso --releasever 40 --macboot
2024-06-03 08:50:01,497: livemedia-creator v40.7-1
2024-06-03 08:50:01,497: selinux is Disabled
2024-06-03 08:50:01,592: disk_img = /var/lmc/lmc-disk-6bzgjl9p.img
2024-06-03 08:50:01,592: Using disk size of 5122MiB
2024-06-03 08:50:01,897: Running anaconda.
2024-06-03 08:50:03,408: 08:50:03 Enforcing the non-interactive text mode for dir and image installations.
2024-06-03 08:50:06,730: anaconda 40.22.3-1.fc40 for Fedora-minimal-workstation-Live 40 (pre-release) started.
2024-06-03 08:50:06,731: 08:50:06 Service org.fedoraproject.Anaconda.Modules.Storage has failed to start: Process org.fedoraproject.Anaconda.Modules.Storage exited with status 1
2024-06-03 08:50:16,759: Running anaconda failed: process ‘[‘unshare’, ‘–pid’, ‘–kill-child’, ‘–mount’, ‘–propagation’, ‘unchanged’, ‘anaconda’, ‘–kickstart’, ‘/builddir/fedora.cfg’, ‘–cmdline’, ‘–dirinstall’, ‘–remotelog’, ‘127.0.0.1:41743’]’ exited with status 1
2024-06-03 08:51:01,975: Install failed: novirt_install failed

Added f40, livecd