summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2009-07-13 13:50:02 +0200
committerHarald Hoyer <harald@redhat.com>2009-07-13 15:03:11 +0200
commit6aca2e0366baf1f1007c5ac4bfd2f793fdd7364f (patch)
tree91963e2557b24af052aa159c7fdab45aeb4492dc /test
parent07253f00ca83fc88f4fe3c674defe9582019fb5b (diff)
downloaddracut-6aca2e0366baf1f1007c5ac4bfd2f793fdd7364f.tar.gz
dracut-6aca2e0366baf1f1007c5ac4bfd2f793fdd7364f.tar.bz2
dracut-6aca2e0366baf1f1007c5ac4bfd2f793fdd7364f.zip
add kernel-modules module to iscsi server
Diffstat (limited to 'test')
-rwxr-xr-xtest/TEST-30-ISCSI/test.sh7
1 files changed, 2 insertions, 5 deletions
diff --git a/test/TEST-30-ISCSI/test.sh b/test/TEST-30-ISCSI/test.sh
index 440cd169..1b10c7ef 100755
--- a/test/TEST-30-ISCSI/test.sh
+++ b/test/TEST-30-ISCSI/test.sh
@@ -3,7 +3,7 @@ TEST_DESCRIPTION="root filesystem over iSCSI"
KVERSION=${KVERSION-$(uname -r)}
-#DEBUGFAIL="rdinitdebug rdnetdebug"
+#DEBUGFAIL="rdinitdebug rdnetdebug rdudevinfo"
run_server() {
# Start server first
@@ -111,7 +111,6 @@ test_setup() {
. $basedir/dracut-functions
dracut_install poweroff shutdown
inst_simple ./hard-off.sh /emergency/01hard-off.sh
-# inst ./cryptroot-ask /sbin/cryptroot-ask
)
sudo $basedir/dracut -l -i overlay / \
-o "plymouth dmraid" \
@@ -141,7 +140,6 @@ test_setup() {
dracut_install /usr/sbin/iscsi-target
instmods iscsi_tcp crc32c ipv6
inst ./targets /etc/iscsi/targets
-# inst ./root.ext2 /
[ -f /etc/netconfig ] && dracut_install /etc/netconfig
which dhcpd >/dev/null 2>&1 && dracut_install dhcpd
[ -x /usr/sbin/dhcpd3 ] && inst /usr/sbin/dhcpd3 /usr/sbin/dhcpd
@@ -158,10 +156,9 @@ test_setup() {
sudo umount mnt
rm -fr mnt
-
# Make server's dracut image
$basedir/dracut -l -i overlay / \
- -m "dash udev-rules base rootfs-block debug" \
+ -m "dash udev-rules base rootfs-block debug kernel-modules" \
-d "ata_piix ext2 sd_mod e1000" \
-f initramfs.server $KVERSION || return 1