X-Git-Url: https://code.grnet.gr/git/snf-image-creator/blobdiff_plain/af45cf2f42aa1c1d732bcd797691f5d4d5bc4eb9..fba0968870e13efbe1926fa43363aa56efd79ee4:/image_creator/os_type/unix.py diff --git a/image_creator/os_type/unix.py b/image_creator/os_type/unix.py index 1e74668..2cd8452 100644 --- a/image_creator/os_type/unix.py +++ b/image_creator/os_type/unix.py @@ -43,8 +43,8 @@ class Unix(OSBase): '.bash_history', '.gnupg', '.ssh', - '.mozilla', - '.thunderbird' + '.kamakirc', + '.kamaki.history' ] def __init__(self, rootdev, ghandler, output): @@ -202,5 +202,7 @@ class Unix(OSBase): fname = "%s/%s" % (homedir, data) if self.g.is_file(fname): self.g.scrub_file(fname) + elif self.g.is_dir(fname): + self.foreach_file(fname, self.g.scrub_file, ftype='r') # vim: set sta sts=4 shiftwidth=4 sw=4 et ai :