mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 11:22:27 +00:00 
			
		
		
		
	fix defect 2791833 installloc site attribute not being parsed correctly for mount on Service Nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3707 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -285,7 +285,7 @@ sub mountInstall | ||||
|     my $rc         = 0; | ||||
|     my $installdir = "/install";    # default | ||||
|     my $installloc = "/install";    # default | ||||
|  | ||||
|     my $newinstallloc; | ||||
|     # read DB for nodeinfo | ||||
|     my $master; | ||||
|     my $os; | ||||
| @@ -308,10 +308,11 @@ sub mountInstall | ||||
|         { | ||||
|             if (grep /:/, $installlocation[0]) | ||||
|             { | ||||
|                 my ($hostname, $installloc) = split ":", $installlocation[0]; | ||||
|                 my ($hostname, $newinstallloc) = split ":", $installlocation[0]; | ||||
|                 if ($hostname) | ||||
|                 {    # hostname set in /installloc attribute | ||||
|                     $master = $hostname;    # set name for mount | ||||
|                     $installloc = $newinstallloc; #set path for mount point | ||||
|                 } | ||||
|             } | ||||
|             else | ||||
|   | ||||
		Reference in New Issue
	
	Block a user