From 7c3fe07ac0f3eed0a43d3ba5312d95c863d1e636 Mon Sep 17 00:00:00 2001 From: Victor Lowther Date: Wed, 2 Sep 2009 07:37:33 -0500 Subject: [PATCH] Made hostonly checking for fcoe fail for now. Having it unconditionally pass pulls in all the networking cruft even for systems that do not need it, and that sorta defeats the purpose of hostonly mode. --- modules.d/95fcoe/check | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules.d/95fcoe/check b/modules.d/95fcoe/check index 95c1aa1b..50405a8b 100755 --- a/modules.d/95fcoe/check +++ b/modules.d/95fcoe/check @@ -4,8 +4,8 @@ [ "$1" = "-d" ] && echo network # FIXME -# If hostonly was requested, fail the check if we are not actually -# booting from root. -#[ "$1" = "-h" ] && ! egrep -q '/ /dev/nbd[0-9]*' /proc/mounts && exit 1 +# If hostonly was requested, fail the check until we have some way of +# knowing we are booting from FCoE +[ "$1" = "-h" ] && exit 1 exit 0