Blame 0024-network-parse-ip-opts.sh-remove-check-for-netroot.patch
|
Harald Hoyer |
1f6198 |
From 689c3e1fcd0fff7ae978d0543fa980272f89dff2 Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
1f6198 |
From: Harald Hoyer <harald@redhat.com>
|
|
Harald Hoyer |
1f6198 |
Date: Thu, 19 Apr 2012 16:41:04 +0200
|
|
Harald Hoyer |
1f6198 |
Subject: [PATCH] network/parse-ip-opts.sh: remove check for netroot
|
|
Harald Hoyer |
1f6198 |
|
|
Harald Hoyer |
1f6198 |
with anaconda and all other kind of stuff, we might want network, even
|
|
Harald Hoyer |
1f6198 |
for root not on the network
|
|
Harald Hoyer |
1f6198 |
---
|
|
Harald Hoyer |
1f6198 |
modules.d/40network/parse-ip-opts.sh | 8 --------
|
|
Harald Hoyer |
1f6198 |
1 file changed, 8 deletions(-)
|
|
Harald Hoyer |
1f6198 |
|
|
Harald Hoyer |
1f6198 |
diff --git a/modules.d/40network/parse-ip-opts.sh b/modules.d/40network/parse-ip-opts.sh
|
|
Harald Hoyer |
1f6198 |
index 97702a2..5637a9a 100755
|
|
Harald Hoyer |
1f6198 |
--- a/modules.d/40network/parse-ip-opts.sh
|
|
Harald Hoyer |
1f6198 |
+++ b/modules.d/40network/parse-ip-opts.sh
|
|
Harald Hoyer |
1f6198 |
@@ -17,14 +17,6 @@
|
|
Harald Hoyer |
1f6198 |
command -v getarg >/dev/null || . /lib/dracut-lib.sh
|
|
Harald Hoyer |
1f6198 |
command -v ibft_to_cmdline >/dev/null || . /lib/net-lib.sh
|
|
Harald Hoyer |
1f6198 |
|
|
Harald Hoyer |
1f6198 |
-# Check if ip= lines should be used
|
|
Harald Hoyer |
1f6198 |
-if getarg ip= >/dev/null ; then
|
|
Harald Hoyer |
1f6198 |
- if [ -z "$netroot" ] ; then
|
|
Harald Hoyer |
1f6198 |
- echo "Warning: No netboot configured, ignoring ip= lines"
|
|
Harald Hoyer |
1f6198 |
- return;
|
|
Harald Hoyer |
1f6198 |
- fi
|
|
Harald Hoyer |
1f6198 |
-fi
|
|
Harald Hoyer |
1f6198 |
-
|
|
Harald Hoyer |
1f6198 |
# Don't mix BOOTIF=macaddr from pxelinux and ip= lines
|
|
Harald Hoyer |
1f6198 |
getarg ip= >/dev/null && getarg BOOTIF= >/dev/null && \
|
|
Harald Hoyer |
1f6198 |
die "Mixing BOOTIF and ip= lines is dangerous"
|