mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-11-04 05:12:30 +00:00 
			
		
		
		
	Merge pull request #4453 from mattaezell/nicutils_multibond_bringup
Support multiple bonds on bring-up
This commit is contained in:
		@@ -1336,7 +1336,7 @@ function create_bond_interface {
 | 
			
		||||
    
 | 
			
		||||
            # create required bond device
 | 
			
		||||
            ((i=0))
 | 
			
		||||
            while ! grep -sq "^$ifname$" /sys/class/net/bonding_masters;
 | 
			
		||||
            while ! grep -sq "\b$ifname\b" /sys/class/net/bonding_masters;
 | 
			
		||||
            do
 | 
			
		||||
                [ $i -eq 0 ] && echo "+$ifname" >/sys/class/net/bonding_masters
 | 
			
		||||
                $sleep 0.5
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user