for item: clean up Utils.pm, the code in xCAT-UI/xcat/plugins/
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13468 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
40e144b4cc
commit
f06b7dbbc5
@ -20,6 +20,7 @@ use Data::Dumper;
|
||||
use LWP::Simple;
|
||||
use xCAT::Table;
|
||||
use xCAT::NodeRange;
|
||||
use xCAT::TableUtils;
|
||||
require XML::Parser;
|
||||
|
||||
sub handled_commands {
|
||||
@ -1265,7 +1266,7 @@ sub web_createimage {
|
||||
my $imagetype = lc( $request->{arg}->[5] );
|
||||
my @softArray;
|
||||
my $netdriver = '';
|
||||
my $installdir = xCAT::Utils->getInstallDir();
|
||||
my $installdir = xCAT::TableUtils->getInstallDir();
|
||||
my $tempos = $ostype;
|
||||
$tempos =~ s/[0-9\.]//g;
|
||||
my $CONFILE;
|
||||
@ -1666,7 +1667,7 @@ sub web_provision {
|
||||
my $line = '';
|
||||
my %imageattr;
|
||||
my $retinfo = xCAT::Utils->runcmd( "lsdef -t osimage -l $imageName", -1, 1 );
|
||||
my $installdir = xCAT::Utils->getInstallDir();
|
||||
my $installdir = xCAT::TableUtils->getInstallDir();
|
||||
|
||||
# Parse output, get the OS name and type
|
||||
foreach $line (@$retinfo) {
|
||||
|
Loading…
Reference in New Issue
Block a user