mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-11-04 05:12:30 +00:00 
			
		
		
		
	Fixed bug where IP range and hostname range were not corrected checked.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12954 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		@@ -738,13 +738,13 @@ zvmPlugin.prototype.loadClonePage = function(node) {
 | 
			
		||||
                    }
 | 
			
		||||
                    
 | 
			
		||||
                    // If an IP address range is given and the starting and ending index do not match
 | 
			
		||||
                    if (ipRange && !(nodeStart == ipStart) || !(nodeEnd == ipEnd)) {
 | 
			
		||||
                    if (ipRange && (!(nodeStart == ipStart) || !(nodeEnd == ipEnd))) {
 | 
			
		||||
                        errMsg = errMsg + 'The node range and IP address range does not match. ';
 | 
			
		||||
                        ready = false;
 | 
			
		||||
                    }
 | 
			
		||||
                    
 | 
			
		||||
                    // If a hostname range is given and the starting and ending index do not match
 | 
			
		||||
                    if (hostnameRange && !(nodeStart == hostnameStart) || !(nodeEnd == hostnameEnd)) {
 | 
			
		||||
                    if (hostnameRange && (!(nodeStart == hostnameStart) || !(nodeEnd == hostnameEnd))) {
 | 
			
		||||
                        errMsg = errMsg + 'The node range and hostname range does not match. ';
 | 
			
		||||
                        ready = false;
 | 
			
		||||
                    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user