From f1d609d48c700e4330cd968578472c65647f082b Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Wed, 24 Mar 2010 12:08:21 +0000 Subject: [PATCH] -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 --- xCAT-server/lib/xcat/plugins/esx.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/xCAT-server/lib/xcat/plugins/esx.pm b/xCAT-server/lib/xcat/plugins/esx.pm index 75e68cd52..ffaced236 100644 --- a/xCAT-server/lib/xcat/plugins/esx.pm +++ b/xCAT-server/lib/xcat/plugins/esx.pm @@ -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