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