From 461d249018a142519070aad55fe11e188615895c Mon Sep 17 00:00:00 2001 From: lissav Date: Tue, 15 Apr 2008 15:12:03 +0000 Subject: [PATCH] add copy of cfgloc git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1060 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server-2.0/sbin/copycerts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/xCAT-server-2.0/sbin/copycerts b/xCAT-server-2.0/sbin/copycerts index 9d015e73a..32be36095 100644 --- a/xCAT-server-2.0/sbin/copycerts +++ b/xCAT-server-2.0/sbin/copycerts @@ -114,9 +114,11 @@ sub copyCertstoSN return 1; } - if (-d "/xcatpost/sysconfig") + `cp /xcatpost/etc/xcat/cfgloc /etc/xcat/cfgloc`; + chmod 0600, "/etc/xcat/cfgloc"; + if (-d "/xcatpost/etc/sysconfig") { - `cp /xcatpost/sysconfig/xcat /etc/sysconfig`; + `cp /xcatpost/etc/sysconfig/xcat /etc/sysconfig`; chmod 0700, "/etc/sysconfig/xcat"; } else