Open bioinfornatics opened 2 months ago
Also tried with mock without success as shown below
$ sudo setenforce 0
$ sudo usermod -a -G mock $USER
$ mock -r rocky-9-x86_64 --init
$ mock -r rocky-9-x86_64 --install lorax-lmc-novirt vim-minimal pykickstart git
$ mock -r rocky-9-x86_64 --shell --isolation=simple --enable-network
<mock-chroot> sh-5.1# git clone https://github.com/rocky-linux/kickstarts -b r9
<mock-chroot> sh-5.1# cd kickstarts
<mock-chroot> sh-5.1# livemedia-creator --ks Rocky-9-Workstation.ks \
--no-virt \
--resultdir /var/lmc \
--project="Rocky Linux" \
--make-iso \
--volid Rocky-Workstation-9 \
--iso-only \
--iso-name Rocky-Workstation-9-x86_64.iso \
--releasever=9 \
--nomacboot
2024-05-21 15:46:56,023: livemedia-creator v34.9.25-1
2024-05-21 15:46:56,023: selinux is Disabled
/usr/lib/python3.9/site-packages/pykickstart/commands/partition.py:448: KickstartParseWarning: A partition with the mountpoint / has already been defined.
warnings.warn(_("A partition with the mountpoint %s has already been defined.") % pd.mountpoint, KickstartParseWarning)
2024-05-21 15:46:56,062: disk_img = /var/lmc/lmc-disk-fteyc4ie.img
2024-05-21 15:46:56,062: Using disk size of 7752MiB
2024-05-21 15:46:56,155: Running anaconda.
2024-05-21 15:46:58,160: Starting installer, one moment...
2024-05-21 15:46:58,160: terminal size detection failed, using default width
2024-05-21 15:46:58,161: anaconda 34.25.4.9-1.el9_4.rocky.0.3 for Rocky Linux 9 (pre-release) started.
2024-05-21 15:46:58,161: 15:46:57 Service org.fedoraproject.Anaconda.Modules.Storage has failed to start: Process org.fedoraproject.Anaconda.Modules.Storage exited with status 1
2024-05-21 15:47:08,171: Running anaconda failed: process '['unshare', '--pid', '--kill-child', '--mount', '--propagation', 'unchanged', 'anaconda', '--kickstart', '/builddir/kickstarts/Rocky-9-Workstation.ks', '--cmdline', '--dirinstall', '--remotelog', '127.0.0.1:59215']' exited with status 1
2024-05-21 15:47:56,230: Install failed: novirt_install failed
2024-05-21 15:47:56,230: Removing bad disk image
2024-05-21 15:47:56,231: ERROR: Image creation failed: novirt_install failed
2024-05-21 15:47:56,231: Image creation failed: novirt_install failed
<mock-chroot> sh-5.1#
logout
Finish: shell
Finish: run
Dear,
Thanks for your works on those kickstart file, after a try; the Rocky-9-Azure-LVM.ks recipe do not works as expected.
Indeed:
dnf install
command are not able to reach network and do not know the value ofreleasever
auth
is deprecatedmissing repo statement I added these lines
dracut: Cannot find module directory /lib/modules/6.8.9-300.fc40.x86_64/ dracut: and --no-kernel was not specified
sed: can't read /etc/yum/pluginconf.d/product-id.conf: No such file or directory sed: can't read /etc/yum/pluginconf.d/subscription-manager.conf: No such file or directory
/tmp/ks-script-0v7t0w9h: line 9: grub2-install: command not found /tmp/ks-script-0v7t0w9h: line 13: parted: command not found