From e919747d02855812439abf7564a4fa9135d0a565 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Mon, 8 Nov 2010 15:24:14 +0000 Subject: [PATCH] -Tolerate '=scsi' and similar n rmigrate -s (i.e. ignore) git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8094 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 eab2c4cce..8ac64afac 100644 --- a/xCAT-server/lib/xcat/plugins/esx.pm +++ b/xCAT-server/lib/xcat/plugins/esx.pm @@ -1204,6 +1204,7 @@ sub migrate { return; } my $target=$hyp; #case for storage migration + if ($datastoredest) { $datastoredest =~ s/=.*//; }#remove =scsi and similar if specified if ($datastoredest and scalar @ARGV) { xCAT::SvrUtils::sendmsg([1,"Unable to mix storage migration and processing of arguments ".join(' ',@ARGV)], $output_handler); return;