소스 검색

Merge pull request #1746 from jakesmith/legacythor

Generate option for legacy Thor

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 13 년 전
부모
커밋
3e5c3e2873
1개의 변경된 파일8개의 추가작업 그리고 1개의 파일을 삭제
  1. 8 1
      initfiles/componentfiles/configxml/setvars_linux.xsl

+ 8 - 1
initfiles/componentfiles/configxml/setvars_linux.xsl

@@ -115,7 +115,14 @@ export autoSwapNode=<xsl:choose>
            <xsl:when test="SwapNode/@AutoSwapNode='1'">1</xsl:when>
            <xsl:otherwise>0</xsl:otherwise>
             </xsl:choose>
-export LCR=_lcr
+<xsl:choose>
+  <xsl:when test="string(@Legacy) != ''">
+    export LCR=
+  </xsl:when>
+  <xsl:otherwise>
+    export LCR=_lcr
+  </xsl:otherwise>
+</xsl:choose>
 <xsl:if test="string(SSH/@SSHidentityfile) != ''">
 export SSHidentityfile=<xsl:value-of select="SSH/@SSHidentityfile"/>
 </xsl:if>