Restore use of dmidecode in dracut for assettag and uuid

This prevents exposing these values in /proc/cmdline.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
Jonathon Anderson
2024-09-05 18:39:31 -04:00
parent c2e4ca5b59
commit e2da5b6d09
5 changed files with 11 additions and 7 deletions

View File

@@ -42,7 +42,7 @@ menuentry "Network boot node: {{.Id}}" --id ww4 {
menuentry "Network boot node with dracut: {{.Id}}" --id dracut {
initramfs="${uri}&stage=initramfs"
wwinit_uri="http://{{.Ipaddr}}:{{.Port}}/provision/${net_default_mac}?assetkey=${assetkey}"
wwinit_uri="http://{{.Ipaddr}}:{{.Port}}/provision/${net_default_mac}"
{{if .KernelOverride }}
echo "Kernel: {{.KernelOverride}}"