fix defect 3485029 adding Utils.pm to servicenode postscript will break the diskfull Linux install

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11489 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2012-02-06 17:48:20 +00:00
parent a1e4faa966
commit ff6d63cf0e

View File

@ -48,7 +48,6 @@ if ($^O =~ /^aix/i) {
use lib "$::XCATROOT/lib/perl";
use strict;
use xCAT::Utils;
# MAIN
use IO::Socket;
@ -90,6 +89,7 @@ if ($ENV{UPDATESECURITY} && $ENV{UPDATESECURITY} eq "1") {
}
# copy the postscripts to /install/postscripts, if not mounted
require xCAT::Utils;
my $mounted = xCAT::Utils->isMounted($installdir);
if ($mounted == 0) { # not mounted
if (&runcmd("mkdir -p $installdir/postscripts; cp -p -R /xcatpost/* $installdir/postscripts > /dev/null 2>&1") != 0 ) {