From 25dbd9a2df13eddbb5b4991bc80ff53743efc30a Mon Sep 17 00:00:00 2001 From: ligc Date: Fri, 3 Dec 2010 09:16:46 +0000 Subject: [PATCH] fix for bug 3105433: postscripts table with -V git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8312 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/DBobjectdefs.pm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm b/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm index 091c2e99f..a6829a77e 100644 --- a/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm +++ b/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm @@ -2590,6 +2590,10 @@ sub defls { $myhash{$obj}{postscripts} = $xcatdefaultsps; } + if($::opt_V && ($myhash{$obj}{postscripts} eq $xcatdefaultsps)) + { + $myhash{$obj}{postscripts} .= " (Table:postscripts - Key:node - Column:postscripts)"; + } } if($xcatdefaultspbs) { @@ -2601,6 +2605,10 @@ sub defls { $myhash{$obj}{postbootscripts} = $xcatdefaultspbs; } + if($::opt_V && ($myhash{$obj}{postbootscripts} eq $xcatdefaultspbs)) + { + $myhash{$obj}{postbootscripts} .= " (Table:postscripts - Key:node - Column:postbootscripts)"; + } } } }