nixos/pixiecore: fix escaping of cmdline
This commit is contained in:
parent
0c9b897241
commit
fd41795f58
@ -115,7 +115,7 @@ in
|
||||
if cfg.mode == "boot"
|
||||
then [ "boot" cfg.kernel ]
|
||||
++ optional (cfg.initrd != "") cfg.initrd
|
||||
++ optional (cfg.cmdLine != "") "--cmdline=${lib.escapeShellArg cfg.cmdLine}"
|
||||
++ optionals (cfg.cmdLine != "") [ "--cmdline" cfg.cmdLine ]
|
||||
else [ "api" cfg.apiServer ];
|
||||
in
|
||||
''
|
||||
|
Loading…
Reference in New Issue
Block a user