From 883288acc980063bd47dc368ea745601b43a6891 Mon Sep 17 00:00:00 2001 From: ligc Date: Tue, 26 May 2009 11:07:50 +0000 Subject: [PATCH] fix bug 2796787: ca.pem file can not be copied to xcat service node git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3446 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT/postscripts/xcatserver | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xCAT/postscripts/xcatserver b/xCAT/postscripts/xcatserver index 0f3660d94..3fa5c1558 100755 --- a/xCAT/postscripts/xcatserver +++ b/xCAT/postscripts/xcatserver @@ -22,5 +22,6 @@ fi sed s/host=[^\|]*/host=$MASTER/ /etc/xcat/cfgloc > /etc/xcat/cfgloc.new mv /etc/xcat/cfgloc.new /etc/xcat/cfgloc chmod 600 /etc/xcat/cfgloc - cp _xcat/ca.pem /etc/xcat/cert/ca.pem + # do not assume working directory, use the full path + cp /xcatpost/_xcat/ca.pem /etc/xcat/cert/ca.pem kill -9 $CREDPID