add copy of cfgloc
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1060 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
ed718151f9
commit
461d249018
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user