Revision 0144d7c7 image_creator/os_type/unix.py
b/image_creator/os_type/unix.py | ||
---|---|---|
34 | 34 |
import re |
35 | 35 |
import sys |
36 | 36 |
|
37 |
from image_creator.os_type import OSBase |
|
37 |
from image_creator.os_type import OSBase, exclude_task
|
|
38 | 38 |
from image_creator.util import warn, output |
39 | 39 |
|
40 | 40 |
|
... | ... | |
95 | 95 |
|
96 | 96 |
self.foreach_file('/var/log', self.g.truncate, ftype='r') |
97 | 97 |
|
98 |
@exclude_task |
|
98 | 99 |
def data_cleanup_mail(self, print_header=True): |
99 | 100 |
"""Remove all files under /var/mail and /var/spool/mail""" |
100 | 101 |
|
Also available in: Unified diff