Revision b8d4b14a image_creator/os_type/slackware.py

b/image_creator/os_type/slackware.py
40 40

  
41 41
class Slackware(Linux):
42 42
    """OS class for Slackware Linux"""
43
    @sysprep()
44
    def cleanup_log(self, print_header=True):
43
    @sysprep("Emptying all files under /var/log")
44
    def cleanup_log(self):
45 45
        """Empty all files under /var/log"""
46 46

  
47
        if print_header:
48
            self.out.output('Emptying all files under /var/log')
49

  
50 47
        # In slackware the metadata about installed packages are
51 48
        # stored in /var/log/packages. Clearing all /var/log files
52 49
        # will destroy the package management system.

Also available in: Unified diff