Fix a bug introduced in 4e58b51b
[snf-image-creator] / image_creator / os_type / slackware.py
index d4f4c44..c2cbb6c 100644 (file)
 # interpreted as representing official policies, either expressed
 # or implied, of GRNET S.A.
 
-from image_creator.os_type.linux import Linux
+from image_creator.os_type.linux import Linux, sysprep
 
 
 class Slackware(Linux):
-    def data_cleanup_log(self):
+    @sysprep()
+    def cleanup_log(self):
         # In slackware the metadata about installed packages are
         # stored in /var/log/packages. Clearing all /var/log files
         # will destroy the package management system.