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:
@@ -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}}"
|
||||
|
||||
Reference in New Issue
Block a user