You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2fc55eb71c9f:/ # rpm -i --nodeps /tmp/warewulf.rpm
/var/tmp/rpm-tmp.fRKUdj: line 3: yq: command not found
error: %prein(warewulf-4.5.0-1.suse.lp155.x86_64) scriptlet failed, exit status 127
error: warewulf-4.5.0-1.suse.lp155.x86_64: install failed
2fc55eb71c9f:/tmp # rpm -qp --scripts warewulf.rpm | head -n 9
preinstall scriptlet (using /bin/sh):
getent group warewulf >/dev/null || groupadd -r warewulf
# use ipxe images from the distribution
yq e '
.tftp.ipxe."00:00" = "undionly.kpxe" |
.tftp.ipxe."00:07" = "ipxe-x86_64.efi" |
.tftp.ipxe."00:09" = "ipxe-x86_64.efi" |
.tftp.ipxe."00:0B" = "snp-arm64.efi" ' \
-i /builddir/build/BUILDROOT/warewulf-4.5.0-1.suse.lp155.x86_64/etc/warewulf/warewulf.conf
yq is not in dep list
2fc55eb71c9f:/tmp # rpm -i warewulf.rpm
error: Failed dependencies:
dhcp-server is needed by warewulf-4.5.0-1.suse.lp155.x86_64
firewalld is needed by warewulf-4.5.0-1.suse.lp155.x86_64
ipxe-bootimgs is needed by warewulf-4.5.0-1.suse.lp155.x86_64
nfs-kernel-server is needed by warewulf-4.5.0-1.suse.lp155.x86_64
tftp is needed by warewulf-4.5.0-1.suse.lp155.x86_64
/builddir/build/BUILDROOT/warewulf-4.5.0-1.suse.lp155.x86_64/etc/warewulf/warewulf.conf is build stage path
For openSUSE based distributions I generally advise to use the warewulf4 package from the distribution itself. Backports and up to date versions are also provided in the cluster:network project.
With following steps you can install warewulf4 from this project
zypper ar https://download.opensuse.org/repositories/network:/cluster/15.5/network:cluster.repo
zypper ref
zypper in warewulf4
Download the package via curl/wget. Install it with zypper in yq warewulf-4.5.0-1.suse.lp155.x86_64.rpm which will install all the dependencies, but will fail to install the package itself. After that you can install the package with rpm -i --noscripts warewulf-4.5.0-1.suse.lp155.x86_64.rpm. Now you will have to replace the ipxe binary paths in warewulf.conf with
Steps to reproduce
wget https://github.com/warewulf/warewulf/releases/download/v4.5.0/warewulf-4.5.0-1.suse.lp155.x86_64.rpm -O /tmp/warewulf.rpm && rpm -i --nodeps /tmp/warewulf.rpm
Error message
/builddir/build/BUILDROOT/warewulf-4.5.0-1.suse.lp155.x86_64/etc/warewulf/warewulf.conf
is build stage pathInformation on your system
General information
wwctl version
and reported the contents of/etc/os-release
The text was updated successfully, but these errors were encountered: