]> git.ipfire.org Git - thirdparty/dracut.git/commit
net-lib.sh:parse_iscsi_root() fix target parsing
authorHarald Hoyer <harald@redhat.com>
Mon, 12 Jan 2015 13:06:10 +0000 (14:06 +0100)
committerHarald Hoyer <harald@redhat.com>
Mon, 12 Jan 2015 13:06:10 +0000 (14:06 +0100)
commit36e8ce4fb01824b49697bd0e7ad3ca3c4cfd4297
treeddffde922c8492ff8a6b893c11444399f050120d
parent40899490330574487e7e3ea2c448a521b36bb40a
net-lib.sh:parse_iscsi_root() fix target parsing

For targets with colons in the iSCSI target name:
  "iqn.2000-09.com.foo:storage-system.e2000:00000001cm1p1"

the parser was confused with the optional iscsi_iface_name and
iscsi_netdev_name.

This patch reintroduces the old IQN, EUI and NAA parsing and enhances
the fallback parser by checking the LUN for a numerical value.
modules.d/40network/net-lib.sh