From 571dda9c939029dcbe2bea65b7590d5083c44500 Mon Sep 17 00:00:00 2001 From: andywray Date: Tue, 24 Feb 2009 21:07:29 +0000 Subject: [PATCH] Export NFSSERVER variable. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2804 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/Postage.pm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/perl-xCAT/xCAT/Postage.pm b/perl-xCAT/xCAT/Postage.pm index a6df68670..14c401c85 100644 --- a/perl-xCAT/xCAT/Postage.pm +++ b/perl-xCAT/xCAT/Postage.pm @@ -166,6 +166,12 @@ sub makescript { } } + my $noderesent = $noderestab->getNodeAttribs($node,['nfsserver']); + if ($noderesent and defined($noderesent->{'nfsserver'})) { + push @scriptd, "NFSSERVER=".$noderesent->{'nfsserver'}."\n"; + push @scriptd, "export NFSSERVER\n"; + } + my $os; my $profile; my $arch;