From e59c5f3c48a9b7e799e80cf28b4f7c39fad786d8 Mon Sep 17 00:00:00 2001 From: lissav Date: Mon, 6 Jul 2009 13:47:15 +0000 Subject: [PATCH] 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 --- xCAT-server/lib/xcat/plugins/AAsn.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/AAsn.pm b/xCAT-server/lib/xcat/plugins/AAsn.pm index 4d8bcbb27..7f302fe61 100644 --- a/xCAT-server/lib/xcat/plugins/AAsn.pm +++ b/xCAT-server/lib/xcat/plugins/AAsn.pm @@ -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