mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 13:40:28 +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
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ in
|
||||||
|
|
||||||
boot.initrd.preLVMCommands =
|
boot.initrd.preLVMCommands =
|
||||||
# Search for interface definitions in command line.
|
# Search for interface definitions in command line.
|
||||||
''
|
mkBefore ''
|
||||||
for o in $(cat /proc/cmdline); do
|
for o in $(cat /proc/cmdline); do
|
||||||
case $o in
|
case $o in
|
||||||
ip=*)
|
ip=*)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue