Skip to content

Commit

Permalink
fix(znet): append to udev rules so each rd.znet_ifname is effective
Browse files Browse the repository at this point in the history
Otherwise the last rd.znet_ifname statement overwrites the persistent
network interface settings of previous such statements.

Signed-off-by: Steffen Maier <maier@linux.ibm.com>
  • Loading branch information
steffen-maier committed Jan 17, 2024
1 parent 33d7929 commit ae3e692
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules.d/95znet/parse-ccw.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ for ifname in $(getargs rd.znet_ifname); do
echo "SUBSYSTEMS==\"ccwgroup\", KERNELS==\"$ifname_subchannels\", DRIVERS==\"?*\" NAME=\"$ifname_if\""
echo 'LABEL="ccw_ifname_end"'

} > /etc/udev/rules.d/81-ccw-ifname.rules
} >> /etc/udev/rules.d/81-ccw-ifname.rules
fi
done

Expand Down

0 comments on commit ae3e692

Please sign in to comment.