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;