mirror of
				https://github.com/vdsm/virtual-dsm.git
				synced 2025-11-04 17:04:52 +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}
 | 
					  [[ ! -e ${_tmpTapPath} ]] && [[ -e /dev0/${_tmpTapPath##*/} ]] && ln -s /dev0/${_tmpTapPath##*/} ${_tmpTapPath}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  if [[ ! -e ${_tmpTapPath} ]]; then
 | 
					  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
 | 
					      echo "ERROR: Cannot mknod: ${_tmpTapPath}" && exit 20
 | 
				
			||||||
    fi
 | 
					    fi
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user