As the the strict and non-strict (a.k.a. sloppy) hostonly
configurations are significantly different, the CI should
have test covergae for both.
Enable strict hostonly for the openSUSE container.
# Test coverage provided by this container:
# - arm64
-# - default hostonly
+# - strict hostonly
# - network-legacy
# - mkosi-initrd
# - hmaccalc (fido)
&& zypper --non-interactive dist-upgrade --no-recommends
# workaround for openSUSE on arm64
+# force strict hostonly mode to increase test coverage
RUN \
+ echo 'hostonly_mode="strict"' > /usr/lib/dracut/dracut.conf.d/02-dist.conf \
KVERSION="$(cd /lib/modules && ls -1 | tail -1)" \
&& if [ "$(arch)"="aarch64" ] && [ -e /usr/lib/modules/"$KVERSION"/Image ]; then ln -sf /usr/lib/modules/"$KVERSION"/Image /usr/lib/modules/"$KVERSION"/vmlinuz; fi