Enable mknimimage to read multiple CDs.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3499 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
nott 2009-06-02 18:59:06 +00:00
parent 2cb8e227ce
commit 448eb5c44d

View File

@ -1571,10 +1571,21 @@ sub mk_lpp_source
# make cmd
my $lpp_cmd = "/usr/sbin/nim -Fo define -t lpp_source -a server=master ";
# set multi_volume to yes just in case /dev/cd0 is provided
$lpp_cmd .= "-a multi_volume=yes ";
# where to put it - the default is /install
$lpp_cmd .= "-a location=$loc ";
$lpp_cmd .= "-a source=$::opt_s $lppsrcname";
if ($::VERBOSE) {
my $rsp;
push @{$rsp->{data}}, "Running: \'$lpp_cmd\'\n";
xCAT::MsgUtils->message("I", $rsp, $callback);
}
my $output = xCAT::Utils->runcmd("$lpp_cmd", -1);
if ($::RUNCMD_RC != 0)
{