diff --git a/xCAT-server-2.0/lib/xcat/plugins/sles.pm b/xCAT-server-2.0/lib/xcat/plugins/sles.pm index 8393554f2..b527230d2 100644 --- a/xCAT-server-2.0/lib/xcat/plugins/sles.pm +++ b/xCAT-server-2.0/lib/xcat/plugins/sles.pm @@ -130,8 +130,11 @@ sub mkinstall ); next; } - mkpath "/install/postscripts/"; - xCAT::Postage->writescript($node, "/install/postscripts/" . $node); + + # create the node-specific post script + mkpath "/install/postscripts/"; + xCAT::Postage->writescript($node, "/install/postscripts/" . $node, "install"); + if ( ( $arch =~ /x86_64/