mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
initrd-network module: initialize network before other pre-LVM commands
This is needed to ensure that network will be initialized before LUKS passphrase is asked.
This commit is contained in:
parent
889351af8b
commit
cc70183cee
@ -65,7 +65,7 @@ in
|
||||
|
||||
boot.initrd.preLVMCommands =
|
||||
# Search for interface definitions in command line.
|
||||
''
|
||||
mkBefore ''
|
||||
for o in $(cat /proc/cmdline); do
|
||||
case $o in
|
||||
ip=*)
|
||||
|
Loading…
Reference in New Issue
Block a user