mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-11-04 05:12:30 +00:00 
			
		
		
		
	specify partition definition: support definition file for sles/suse
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13245 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		@@ -218,7 +218,12 @@ sub subvars {
 | 
			
		||||
        }
 | 
			
		||||
        else{
 | 
			
		||||
            $partcontent =~ s/\s$//;
 | 
			
		||||
            $inc =~ s/#XCAT_PARTITION_START#[\s\S]*#XCAT_PARTITION_END#/$partcontent/;
 | 
			
		||||
            if ($inc =~ /#XCAT_PARTITION_START#/){
 | 
			
		||||
                $inc =~ s/#XCAT_PARTITION_START#[\s\S]*#XCAT_PARTITION_END#/$partcontent/;
 | 
			
		||||
            }
 | 
			
		||||
            elsif ($inc =~ /<!-- XCAT-PARTITION-START -->/){
 | 
			
		||||
                $inc =~ s/<!-- XCAT-PARTITION-START -->[\s\S]*<!-- XCAT-PARTITION-END -->/$partcontent/;
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user