From ff6d63cf0e3e4a6bcf51ab981b7628775d856cf3 Mon Sep 17 00:00:00 2001 From: lissav Date: Mon, 6 Feb 2012 17:48:20 +0000 Subject: [PATCH] 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 --- xCAT/postscripts/servicenode | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT/postscripts/servicenode b/xCAT/postscripts/servicenode index fd35c9c6f..817711e0f 100755 --- a/xCAT/postscripts/servicenode +++ b/xCAT/postscripts/servicenode @@ -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 ) {