From e36b5b14098a56d2bb6a58742a3ebb72296e2d0a Mon Sep 17 00:00:00 2001
From: Nikos Skalkotos <skalkoto@grnet.gr>
Date: Fri, 4 Jan 2013 14:14:00 +0200
Subject: [PATCH] Treat kamaki config files as sensitive data

When cleaning up sensive user data on unix systems, remove .kamakirc
and .kamaki.history too.
---
 image_creator/os_type/unix.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/image_creator/os_type/unix.py b/image_creator/os_type/unix.py
index e0f0622..2cd8452 100644
--- a/image_creator/os_type/unix.py
+++ b/image_creator/os_type/unix.py
@@ -42,7 +42,9 @@ class Unix(OSBase):
     sensitive_userdata = [
         '.bash_history',
         '.gnupg',
-        '.ssh'
+        '.ssh',
+        '.kamakirc',
+        '.kamaki.history'
     ]
 
     def __init__(self, rootdev, ghandler, output):
-- 
GitLab