From 55a4562ab9b0ed5266af8b84936c4ae5576db8fe Mon Sep 17 00:00:00 2001 From: lissav Date: Mon, 6 Feb 2012 17:55:16 +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/branches/2.6@11490 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 38ce3a48e..cbaeeccf1 100755 --- a/xCAT/postscripts/servicenode +++ b/xCAT/postscripts/servicenode @@ -33,7 +33,6 @@ if ($^O =~ /^aix/i) { use lib "$::XCATROOT/lib/perl"; use strict; -use xCAT::Utils; # MAIN use IO::Socket; @@ -74,6 +73,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 ) {