From 637fba74a7025450d4fb856adad1d46f15b54328 Mon Sep 17 00:00:00 2001
From: lissav <lissav@8638fb3e-16cb-4fca-ae20-7b5d299a9bcd>
Date: Wed, 18 Jun 2008 17:27:26 +0000
Subject: [PATCH]  fix missing NODE export

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1689 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
---
 perl-xCAT/xCAT/Postage.pm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/perl-xCAT/xCAT/Postage.pm b/perl-xCAT/xCAT/Postage.pm
index f17f32f23..55e316ccd 100644
--- a/perl-xCAT/xCAT/Postage.pm
+++ b/perl-xCAT/xCAT/Postage.pm
@@ -146,7 +146,9 @@ sub makescript {
        
    }
 
-
+  push @scriptd, "NODE=$node\n";
+  push @scriptd, "export NODE\n";
+ 
   my $et = $typetab->getNodeAttribs($node,['os','arch','profile']);
   if ($^O =~ /^linux/i) {
 	unless ($et and $et->{'os'} and $et->{'arch'}) {