fix for bug 2833494

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3965 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
ligc 2009-08-07 04:34:10 +00:00
parent 1450616157
commit 11a809fa7f

View File

@ -2268,12 +2268,14 @@ sub defls
# need a special case for the node postscripts attribute,
# The 'xcatdefaults' postscript should be added to the postscript attribute
my $getnodes = 0;
foreach my $objtype (@::clobjtypes)
{
if ($objtype eq 'node')
if (!$::opt_z) { #if -z flag is specified, do not add the xcatdefaults
foreach my $objtype (@::clobjtypes)
{
$getnodes = 1;
last;
if ($objtype eq 'node')
{
$getnodes = 1;
last;
}
}
}
if ($getnodes)