mirror of
https://github.com/dracutdevs/dracut.git
synced 2024-10-27 17:55:47 +03:00
check ifenslave instead of brctl in parse-bond.sh
This is obviously wrong, ifenslave instead of brctl is needed for bonding. Cc: Harald Hoyer <harald@redhat.com> Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com>
This commit is contained in:
parent
ec3c59518d
commit
ffc5bf686d
@ -18,7 +18,7 @@ if getarg bond= >/dev/null ; then
|
||||
if [ -z "$netroot" ] ; then
|
||||
die "No netboot configured, bond is invalid"
|
||||
fi
|
||||
command -v brctl >/dev/null 2>&1 || die "No 'brctl' installed"
|
||||
command -v ifenslave >/dev/null 2>&1 || die "No 'ifenslave' installed"
|
||||
fi
|
||||
|
||||
# We translate list of slaves to space-separated here to mwke it easier to loop over them in ifup
|
||||
|
Loading…
Reference in New Issue
Block a user