summaryrefslogtreecommitdiffstats
path: root/cobbler/action_litesync.py
diff options
context:
space:
mode:
Diffstat (limited to 'cobbler/action_litesync.py')
-rw-r--r--cobbler/action_litesync.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/cobbler/action_litesync.py b/cobbler/action_litesync.py
index fddea9d..825bcbe 100644
--- a/cobbler/action_litesync.py
+++ b/cobbler/action_litesync.py
@@ -68,6 +68,8 @@ class BootLiteSync:
self.sync.rmtree(os.path.join(self.settings.webdir, "images", name))
# delete contents of images/$name in tftpboot
self.sync.rmtree(os.path.join(self.settings.tftpboot, "images", name))
+ # delete potential symlink to tree in webdir/links
+ self.sync.rmfile(os.path.join(self.settings.webdir, "links", name))
def add_single_profile(self, name):
# get the profile object: