diff options
author | Matthew Booth <mbooth@redhat.com> | 2011-11-10 17:56:10 +0000 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2011-11-11 22:52:31 +0000 |
commit | 00a0fab50b3803be8db5b7d9fa0869a70b0da556 (patch) | |
tree | e8300c64dc485b34dee09670a58b61add5acaf16 /appliance | |
parent | c11a92751e003b3d4bc3584b598afc9bd9d9e703 (diff) | |
download | libguestfs-00a0fab50b3803be8db5b7d9fa0869a70b0da556.tar.gz libguestfs-00a0fab50b3803be8db5b7d9fa0869a70b0da556.tar.xz libguestfs-00a0fab50b3803be8db5b7d9fa0869a70b0da556.zip |
New API: list-md-devices.
Return a list of Linux MD devices detected in the guest.
This API complements list_devices, list_partitions, list_lvs and
list_dm_devices.
Diffstat (limited to 'appliance')
-rwxr-xr-x | appliance/init | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/appliance/init b/appliance/init index ee803348..0f32a55c 100755 --- a/appliance/init +++ b/appliance/init @@ -70,6 +70,9 @@ ifconfig lo 127.0.0.1 ifconfig eth0 169.254.2.10 route add default gw 169.254.2.2 +# Scan for MDs. +mdadm -As --auto=yes --run + # Scan for LVM. modprobe dm_mod ||: |