mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-11-04 05:12:30 +00:00 
			
		
		
		
	Fix minor configeth problem on Ubuntu 18.04
This commit is contained in:
		@@ -650,7 +650,12 @@ elif [ "$1" = "-s" ];then
 | 
			
		||||
    fi
 | 
			
		||||
 | 
			
		||||
    if [ "$UPDATENODE" = "1" ] || grep "REBOOT=TRUE" /opt/xcat/xcatinfo >/dev/null 2>&1; then
 | 
			
		||||
        ifdown $str_inst_nic;ifup $str_inst_nic
 | 
			
		||||
        if [ "$str_os_type" = "debian" ];then
 | 
			
		||||
            ifdown --force $str_inst_nic
 | 
			
		||||
        else
 | 
			
		||||
            ifdown $str_inst_nic
 | 
			
		||||
        fi
 | 
			
		||||
        ifup $str_inst_nic
 | 
			
		||||
    fi 
 | 
			
		||||
    if [ $? -ne 0 ]; then
 | 
			
		||||
        log_error "ifup $str_inst_nic failed."
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user