]> git.ipfire.org Git - thirdparty/dracut.git/commit
95iscsi: Fix network setup code for iscsi
authorKairui Song <kasong@redhat.com>
Sun, 23 Jun 2019 12:22:34 +0000 (20:22 +0800)
committerHarald Hoyer <harald@hoyer.xyz>
Fri, 19 Jul 2019 14:12:47 +0000 (16:12 +0200)
commit7b76fa924dfd20d3fd4433baa8292f0112282aac
tree73d157033b6ff451e29688d847a1dbed2dabaedd
parent7934c6f918de2e82d0df5da557c5792c4fb7b798
95iscsi: Fix network setup code for iscsi

- The network script and config could be in
  "/etc/sysconfig/network-scripts", so try look for network config in
  all possible path.

- The regex used for sed is not working, so fix it too.

- Make bootproto a local variable

Signed-off-by: Kairui Song <kasong@redhat.com>
modules.d/95iscsi/module-setup.sh