forked from mirrors/nixpkgs
nixos/pixiecore: fix escaping of cmdline
This commit is contained in:
parent
0c9b897241
commit
fd41795f58
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue