From fbf118ea50e8eacc1d91c4a8c1fa340fe13e8db1 Mon Sep 17 00:00:00 2001 From: linggao Date: Wed, 7 Oct 2009 19:27:48 +0000 Subject: [PATCH] bug fix git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4319 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/perl/xCAT/Postage.pm | 2 +- xCAT-server/lib/xcat/plugins/updatenode.pm | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/xCAT-server/lib/perl/xCAT/Postage.pm b/xCAT-server/lib/perl/xCAT/Postage.pm index cc025b6a2..e31371e22 100644 --- a/xCAT-server/lib/perl/xCAT/Postage.pm +++ b/xCAT-server/lib/perl/xCAT/Postage.pm @@ -228,7 +228,7 @@ sub makescript { } if (!$nodesetstate) { $nodesetstate=getnodesetstate($node);} - push @scriptd, "NODESETSTATE=\"".$nodesetstate."\"\n"; + push @scriptd, "NODESETSTATE='".$nodesetstate."'\n"; push @scriptd, "export NODESETSTATE\n"; # set the UPDATENODE flag in the script, the default it 0, that means not in the updatenode process, xcatdsklspost and xcataixpost will set it to 1 in updatenode case diff --git a/xCAT-server/lib/xcat/plugins/updatenode.pm b/xCAT-server/lib/xcat/plugins/updatenode.pm index 3ebe398be..3ae1d5071 100644 --- a/xCAT-server/lib/xcat/plugins/updatenode.pm +++ b/xCAT-server/lib/xcat/plugins/updatenode.pm @@ -8,8 +8,6 @@ BEGIN } use lib "$::XCATROOT/lib/perl"; -use strict; -use warnings; use xCAT::Table; use xCAT::Schema; use Data::Dumper;