mirror of
https://github.com/dracutdevs/dracut.git
synced 2024-10-27 00:55:34 +03:00
added mdraid autoassembling
This commit is contained in:
parent
771577a56a
commit
6b5951b3d6
4
modules.d/90mdraid/install
Executable file
4
modules.d/90mdraid/install
Executable file
@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
dracut_install mdadm
|
||||
inst_hook pre-mount 10 "$moddir/mdraid.sh"
|
||||
|
8
modules.d/90mdraid/mdraid.sh
Normal file
8
modules.d/90mdraid/mdraid.sh
Normal file
@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
mdadm --assemble \
|
||||
--homehost=localhost \
|
||||
--auto-update-homehost \
|
||||
--scan
|
||||
|
||||
udevadm settle --timeout=30
|
||||
|
Loading…
Reference in New Issue
Block a user