mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-08-03 20:00:48 +00:00
CTS: fix deletion of the tmp root for augeas
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2679 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
parent
ce492d7008
commit
1924e328ca
@ -60,7 +60,8 @@ class CoroConfig(object):
|
||||
self.corobase = corobase
|
||||
example = self.corobase + "/conf/corosync.conf.example"
|
||||
|
||||
shutil.rmtree (self.new_root)
|
||||
if os.path.isdir(self.new_root):
|
||||
shutil.rmtree (self.new_root)
|
||||
os.makedirs (self.new_root + "/etc/corosync")
|
||||
shutil.copy (example, self.new_root + "/etc/corosync/corosync.conf")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user