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. - removed added-cow-option-to-bind.patch as now in upstream * Show more information during `wwctl container <shell|exec>` about when and if the container image will be rebuilt. * Command-line completion for `wwctl overlay <edit|delete|chmod|chown>`. * Display an error during boot if no container is defined. * `wwctl container list --kernel` shows the kernel detected for each container. * `wwctl container list --size` shows the uncompressed size of each container. `--compressed` shows the compressed size, and `--chroot` shows the size of the container source on the server. * Add a logrotate config for `warewulfd.log`. OBS-URL: https://build.opensuse.org/package/show/network:cluster/warewulf4?expand=0&rev=95
30 lines
1.1 KiB
Diff
30 lines
1.1 KiB
Diff
diff --git a/overlays/wwinit/rootfs/etc/issue.ww b/overlays/wwinit/rootfs/etc/issue.ww
|
|
index d526a2b6..f7cd4e86 100644
|
|
--- a/overlays/wwinit/rootfs/etc/issue.ww
|
|
+++ b/overlays/wwinit/rootfs/etc/issue.ww
|
|
@@ -6,7 +6,11 @@ Kernelargs: {{.Kernel.Args}}
|
|
Network:
|
|
{{- range $devname, $netdev := .NetDevs}}
|
|
{{$devname}}: {{$netdev.Device}}
|
|
- {{$devname}}: {{$netdev.IpCIDR}}
|
|
-{{if $netdev.Ipaddr6 }} {{$devname}}: {{$netdev.Ipaddr6}}{{ end -}}
|
|
-{{if $netdev.Hwaddr }} {{$devname}}: {{$netdev.Hwaddr}}{{ end -}}
|
|
-{{end}}
|
|
+ {{$devname}}: \4{{ print "{" }}{{$netdev.Device}}{{ print "}" }}
|
|
+{{- if $netdev.Ipaddr6 }}
|
|
+ {{$devname}}: \6{{ print "{" }}{{$netdev.Device}}{{ print "}" }}
|
|
+{{- end }}
|
|
+{{- if $netdev.Hwaddr }}
|
|
+ {{$devname}}: {{$netdev.Hwaddr}}
|
|
+{{- end }}
|
|
+{{- end}}
|
|
diff --git a/overlays/wwinit/rootfs/etc/motd.d/ww4.ww b/overlays/wwinit/rootfs/etc/motd.d/ww4.ww
|
|
new file mode 100644
|
|
index 00000000..dad912db
|
|
--- /dev/null
|
|
+++ b/overlays/wwinit/rootfs/etc/motd.d/ww4.ww
|
|
@@ -0,0 +1,3 @@
|
|
+warewulf Node: {{.Id}}
|
|
+Container: {{.Container}}
|
|
+Kernelargs: {{.Kernel.Args}}
|