Blame 0020-iscsi-parse-iscsi-parameter-even-if-rootok-1.patch
|
Harald Hoyer |
fe48c9 |
From 5ecc117a25db5d8d1d61953d86f0cbbc0b5e0ef3 Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
fe48c9 |
From: Harald Hoyer <harald@redhat.com>
|
|
Harald Hoyer |
fe48c9 |
Date: Tue, 3 Sep 2013 15:23:28 +0200
|
|
Harald Hoyer |
fe48c9 |
Subject: [PATCH] iscsi: parse iscsi parameter, even if rootok=1
|
|
Harald Hoyer |
fe48c9 |
|
|
Harald Hoyer |
fe48c9 |
---
|
|
Harald Hoyer |
fe48c9 |
modules.d/95iscsi/parse-iscsiroot.sh | 3 ---
|
|
Harald Hoyer |
fe48c9 |
1 file changed, 3 deletions(-)
|
|
Harald Hoyer |
fe48c9 |
|
|
Harald Hoyer |
fe48c9 |
diff --git a/modules.d/95iscsi/parse-iscsiroot.sh b/modules.d/95iscsi/parse-iscsiroot.sh
|
|
Harald Hoyer |
fe48c9 |
index 286e3dc..e83ef32 100755
|
|
Harald Hoyer |
fe48c9 |
--- a/modules.d/95iscsi/parse-iscsiroot.sh
|
|
Harald Hoyer |
fe48c9 |
+++ b/modules.d/95iscsi/parse-iscsiroot.sh
|
|
Harald Hoyer |
fe48c9 |
@@ -13,9 +13,6 @@
|
|
Harald Hoyer |
fe48c9 |
# root= takes precedence over netroot= if root=iscsi[...]
|
|
Harald Hoyer |
fe48c9 |
#
|
|
Harald Hoyer |
fe48c9 |
|
|
Harald Hoyer |
fe48c9 |
-# Don't continue if root is ok
|
|
Harald Hoyer |
fe48c9 |
-[ -n "$rootok" ] && return
|
|
Harald Hoyer |
fe48c9 |
-
|
|
Harald Hoyer |
fe48c9 |
# This script is sourced, so root should be set. But let's be paranoid
|
|
Harald Hoyer |
fe48c9 |
[ -z "$root" ] && root=$(getarg root=)
|
|
Harald Hoyer |
fe48c9 |
[ -z "$netroot" ] && netroot=$(getarg netroot=)
|