Revision c16922f7 image_creator/os_type/unix.py
b/image_creator/os_type/unix.py | ||
---|---|---|
37 | 37 |
self.cleanup_tmp() |
38 | 38 |
self.cleanup_log() |
39 | 39 |
self.cleanup_mail() |
40 |
self.cleanup_cache() |
|
41 |
|
|
42 |
def cleanup_cache(self): |
|
43 |
self.foreach_file('/var/cache', self.g.rm, ftype='r') |
|
40 | 44 |
|
41 | 45 |
def cleanup_tmp(self): |
42 | 46 |
self.foreach_file('/tmp', self.g.rm_rf, maxdepth=1) |
Also available in: Unified diff