From e3a7aa5f47cb99baa63e9cad1b70ba7d3c044bd4 Mon Sep 17 00:00:00 2001 From: daniceexi Date: Mon, 20 Aug 2012 13:48:24 +0000 Subject: [PATCH] rhev support: pass source file to child pm git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13554 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/copycds.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/copycds.pm b/xCAT-server/lib/xcat/plugins/copycds.pm index b1de9e830..6eea65f75 100644 --- a/xCAT-server/lib/xcat/plugins/copycds.pm +++ b/xCAT-server/lib/xcat/plugins/copycds.pm @@ -133,7 +133,10 @@ sub process_request { else{ push @{$newreq->{arg}},("-a",$arch); } - } + } + if (! -l $file) { + push @{$newreq->{arg}},("-f",$file); + } $doreq->($newreq,\&take_answer); $::CDMOUNTPATH="";