mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-02-24 13:30:02 +08:00
Macvlan
This commit is contained in:
parent
9746fa3d7d
commit
263bbd366c
@ -45,7 +45,7 @@ configureMacVlan () {
|
||||
[[ ! -e ${_tmpTapPath} ]] && [[ -e /dev0/${_tmpTapPath##*/} ]] && ln -s /dev0/${_tmpTapPath##*/} ${_tmpTapPath}
|
||||
|
||||
if [[ ! -e ${_tmpTapPath} ]]; then
|
||||
if [[ ! mknod ${_tmpTapPath} c $MAJOR $MINOR ]]; then
|
||||
if [ ! mknod ${_tmpTapPath} c $MAJOR $MINOR ]; then
|
||||
echo "ERROR: Cannot mknod: ${_tmpTapPath}" && exit 20
|
||||
fi
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user