removed warning "No ip= argument(s) for netroot provided..."
authorHarald Hoyer <harald@redhat.com>
Mon, 13 Jul 2009 12:23:49 +0000 (14:23 +0200)
committerHarald Hoyer <harald@redhat.com>
Mon, 13 Jul 2009 13:03:11 +0000 (15:03 +0200)
modules.d/40network/parse-ip-opts.sh

index c748fdf..7e1ea6b 100755 (executable)
@@ -45,9 +45,8 @@ getarg ip= >/dev/null && getarg BOOTIF= >/dev/null && \
 # No more parsing stuff, BOOTIF says everything
 [ -n "$(getarg BOOTIF)" ] && return
 
-# Warn if defaulting to ip=dhcp
 if [ -n "$netroot" ] && [ -z "$(getarg ip=)" ] ; then
-    warn "No ip= argument(s) for netroot provided, defaulting to DHCP"
+    # No ip= argument(s) for netroot provided, defaulting to DHCP
     return;
 fi
 
@@ -143,4 +142,4 @@ fi
 [ -n "$IFACES" ]  && echo $IFACES > /tmp/net.ifaces
 
 # We need a ip= line for the configured bootdev= 
-[ -n "$NEEDBOOTDEV" ] && [ -z "$BOOTDEVOK" ] && die "Bootdev Argument '$BOOTDEV' not found"
\ No newline at end of file
+[ -n "$NEEDBOOTDEV" ] && [ -z "$BOOTDEVOK" ] && die "Bootdev Argument '$BOOTDEV' not found"