From 788b6164586316fb94bbe7fcd6a8717c89dda8ef Mon Sep 17 00:00:00 2001 From: yinle Date: Thu, 3 Apr 2014 07:50:59 -0700 Subject: [PATCH] Modify auto-test script, add new configuration file keys. --- xCAT-server/share/xcat/tools/xCATreg | 29 ++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/xCAT-server/share/xcat/tools/xCATreg b/xCAT-server/share/xcat/tools/xCATreg index b8d2c974e..e150b0aef 100755 --- a/xCAT-server/share/xcat/tools/xCATreg +++ b/xCAT-server/share/xcat/tools/xCATreg @@ -597,8 +597,33 @@ sub read_conf{ $confkeys{log} = $1; } if ($line =~ /^\s*mailgroup\s*=\s*(\S*)\s*/) { - $confkeys{mailgroup} = $1; - } + $confkeys{mailgroup} = $1; + } + if ($line =~ /^\s*srcdir\s*=\s*(\S*)\s*/) { + $confkeys{srcdir} = $1; + } + if ($line =~ /^\s*rhpdir\s*=\s*(\S*)\s*/) { + $confkeys{rhpdir} = $1; + } + if ($line =~ /^\s*slespdir\s*=\s*(\S*)\s*/) { + $confkeys{slespdir} = $1; + } + if ($line =~ /^\s*aixdir\s*=\s*(\S*)\s*/) { + $confkeys{aixdir} = $1; + } + if ($line =~ /^\s*rhxdir\s*=\s*(\S*)\s*/) { + $confkeys{rhxdir} = $1; + } + if ($line =~ /^\s*slesxdir\s*=\s*(\S*)\s*/) { + $confkeys{slesxdir} = $1; + } + if ($line =~ /^\s*ubuntudir\s*=\s*(\S*)\s*/) { + $confkeys{ubuntudir} = $1; + } + if ($line =~ /^\s*xcattestconf\s*=\s*(\S*)\s*/) { + $confkeys{xcattestconf} = $1; + } + } return %confkeys; }