diff --git a/xCAT-server-2.0/sbin/copycerts b/xCAT-server-2.0/sbin/copycerts index 2395b80fb..ed55f3dc9 100644 --- a/xCAT-server-2.0/sbin/copycerts +++ b/xCAT-server-2.0/sbin/copycerts @@ -81,16 +81,6 @@ sub copyCertstoSN { xCAT::MsgUtils->message('S', "/xcatpost/ca directory does not exist\n"); - } - if (-d "/xcatpost/etc/xcat") { - `cp -f /xcatpost/etc/xcat/cfgloc /etc/xcat/cfgloc`; - chmod 0600, "/etc/xcat/cfgloc"; - } - else - { - xCAT::MsgUtils->message('S', - "/xcatpost/etc/xcat directory does not exit\n"); - } return $rc; }