From f2b24b0631914ec95018c83fef0cc828a997004f Mon Sep 17 00:00:00 2001 From: penguhyang Date: Thu, 21 Jan 2016 21:12:52 -0500 Subject: [PATCH] cover rh6.7 for post.xcat restructure --- xCAT-server/share/xcat/install/rh/compute.rhels6.ppc64.tmpl | 3 +++ xCAT-server/share/xcat/install/rh/compute.rhels6.x86_64.tmpl | 3 +++ 2 files changed, 6 insertions(+) diff --git a/xCAT-server/share/xcat/install/rh/compute.rhels6.ppc64.tmpl b/xCAT-server/share/xcat/install/rh/compute.rhels6.ppc64.tmpl index d05dec9f7..0039df28a 100644 --- a/xCAT-server/share/xcat/install/rh/compute.rhels6.ppc64.tmpl +++ b/xCAT-server/share/xcat/install/rh/compute.rhels6.ppc64.tmpl @@ -148,4 +148,7 @@ reboot %pre #INCLUDE:#ENV:XCATROOT#/share/xcat/install/scripts/pre.rh# %post +mkdir -p /var/log/xcat/ +{ #INCLUDE:#ENV:XCATROOT#/share/xcat/install/scripts/post.rh# +} >>/var/log/xcat/xcat.log 2>&1 diff --git a/xCAT-server/share/xcat/install/rh/compute.rhels6.x86_64.tmpl b/xCAT-server/share/xcat/install/rh/compute.rhels6.x86_64.tmpl index 55b0aa2f8..1c83c82d2 100644 --- a/xCAT-server/share/xcat/install/rh/compute.rhels6.x86_64.tmpl +++ b/xCAT-server/share/xcat/install/rh/compute.rhels6.x86_64.tmpl @@ -151,5 +151,8 @@ reboot %pre #INCLUDE:#ENV:XCATROOT#/share/xcat/install/scripts/pre.rh# %post +mkdir -p /var/log/xcat/ +{ #INCLUDE:#ENV:XCATROOT#/share/xcat/install/scripts/post.rh# +} >>/var/log/xcat/xcat.log 2>&1