- Warewulf v4.5.8 simplifies the "wwinit" boot process for SELinux and configures tmpfs to spread the node image across all available NUMA nodes. It also improves the detection of kernels in the container image to more reliably detect the newest available kernel and to avoid debug / rescue kernels. - Warewulf v4.5.7 fixes the ability to override overlay files configured in profiles with overlays configured per-node; fixes a template processing bug bug in development-time overlay rendering; and improves the preview dracut-based boot process to better support a "secure" boot process. - rmeoved added-cow-option-to-bind.patch as now in upstream OBS-URL: https://build.opensuse.org/package/show/network:cluster/warewulf4?expand=0&rev=90
72 lines
2.4 KiB
Diff
72 lines
2.4 KiB
Diff
diff --git a/etc/grub/grub.cfg.ww b/etc/grub/grub.cfg.ww
|
|
index f7ecac23..859d2d51 100644
|
|
--- a/etc/grub/grub.cfg.ww
|
|
+++ b/etc/grub/grub.cfg.ww
|
|
@@ -1,3 +1,4 @@
|
|
+{{ if .ContainerName }}
|
|
echo "================================================================================"
|
|
echo "Warewulf v4 now http booting grub: {{.Fqdn}} ({{.Hwaddr}})"
|
|
echo "================================================================================"
|
|
@@ -89,3 +90,12 @@ menuentry "System shutdown" {
|
|
echo "System shutting down..."
|
|
halt
|
|
}
|
|
+{{ else }}
|
|
+echo "================================================================================"
|
|
+echo " Warewulf v4:"
|
|
+echo " No node image/container defined for this node ({{.Fqdn}})."
|
|
+echo " Rebooting in 30s."
|
|
+echo "================================================================================"
|
|
+sleep 30
|
|
+reboot
|
|
+{{ end }}
|
|
diff --git a/etc/ipxe/default.ipxe b/etc/ipxe/default.ipxe
|
|
index 7db56e27..dbe10ed7 100644
|
|
--- a/etc/ipxe/default.ipxe
|
|
+++ b/etc/ipxe/default.ipxe
|
|
@@ -1,5 +1,5 @@
|
|
#!ipxe
|
|
-
|
|
+{{ if .ContainerName }}
|
|
echo
|
|
echo ================================================================================
|
|
echo Warewulf v4 now booting: {{.Fqdn}} ({{.Hwaddr}})
|
|
@@ -106,3 +106,12 @@ echo There was an error, rebooting in 15s...
|
|
echo
|
|
sleep 15
|
|
reboot
|
|
+{{ else }}
|
|
+echo ================================================================================
|
|
+echo Warewulf v4:
|
|
+echo No node image/container defined for this node ({{.Fqdn}}).
|
|
+echo Rebooting in 30s.
|
|
+echo ================================================================================
|
|
+sleep 30
|
|
+reboot
|
|
+{{ end }}
|
|
diff --git a/etc/ipxe/dracut.ipxe b/etc/ipxe/dracut.ipxe
|
|
index 4336b01e..7ae3b77e 100644
|
|
--- a/etc/ipxe/dracut.ipxe
|
|
+++ b/etc/ipxe/dracut.ipxe
|
|
@@ -1,5 +1,5 @@
|
|
#!ipxe
|
|
-
|
|
+{{ if .ContainerName }}
|
|
echo
|
|
echo ================================================================================
|
|
echo Warewulf v4 now booting via dracut: {{.Fqdn}} ({{.Hwaddr}})
|
|
@@ -44,3 +44,12 @@ echo There was an error, rebooting in 15s...
|
|
echo
|
|
sleep 15
|
|
reboot
|
|
+{{ else }}
|
|
+echo ================================================================================
|
|
+echo Warewulf v4:
|
|
+echo No node image/container defined for this node ({{.Fqdn}}).
|
|
+echo Rebooting in 30s.
|
|
+echo ================================================================================
|
|
+sleep 30
|
|
+reboot
|
|
+{{ end }}
|
|
\ No newline at end of file
|