-Fix configuration datastore identification in vmware environments not using xCAT auto-attach when scsi is requested

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5569 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2010-03-24 12:08:21 +00:00
parent 6399a3f417
commit f1d609d48c

View File

@ -1290,6 +1290,7 @@ sub getcfgdatastore {
#TODO: if multiple drives are specified, make sure to split this out
#DONE: I believe the regex after this conditional takes care of that case already..
}
$cfgdatastore =~ s/=.*//;
(my $method,my $location) = split /:\/\//,$cfgdatastore,2;
(my $server,my $path) = split/\//,$location,2;
$server =~ s/:$//; #tolerate habitual colons