[Libguestfs] [PATCH] Load the ext2 module so mkinitrd works on RHEL 3

Matthew Booth mbooth at redhat.com
Tue Aug 18 11:12:31 UTC 2009


---
 appliance/init |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/appliance/init b/appliance/init
index fe135b4..053ef36 100755
--- a/appliance/init
+++ b/appliance/init
@@ -39,6 +39,9 @@ fi
 
 modprobe dm_mod ||:
 
+# For mkinitrd on RHEL 3
+modprobe ext2
+
 ifconfig lo 127.0.0.1
 ifconfig eth0 10.0.2.10
 route add default gw 10.0.2.2
-- 
1.6.2.5




More information about the Libguestfs mailing list