summaryrefslogtreecommitdiff
path: root/etc/ltsp
diff options
context:
space:
mode:
Diffstat (limited to 'etc/ltsp')
-rw-r--r--etc/ltsp/image-local.excludes16
-rw-r--r--etc/ltsp/ltsp.conf.in2
2 files changed, 17 insertions, 1 deletions
diff --git a/etc/ltsp/image-local.excludes b/etc/ltsp/image-local.excludes
index e69de29..10125cd 100644
--- a/etc/ltsp/image-local.excludes
+++ b/etc/ltsp/image-local.excludes
@@ -0,0 +1,16 @@
+# we want to keep root/.ssh, therefore we need to
+# omit system-wide root/.* and exclude well-known
+# files in /root/ manually...
+root/.bash*
+root/.cache*
+root/.config*
+root/.dbus*
+root/.gnupg*
+root/.lesshst
+root/.local*
+root/.profile*
+root/.rpmdb*
+root/.var*
+root/.viminfo
+root/.vim*
+root/.wget*
diff --git a/etc/ltsp/ltsp.conf.in b/etc/ltsp/ltsp.conf.in
index e6c3380..5cb2466 100644
--- a/etc/ltsp/ltsp.conf.in
+++ b/etc/ltsp/ltsp.conf.in
@@ -19,7 +19,7 @@ SEARCH_DOMAIN=intern
KERNEL_PARAMETERS="quiet splash"
ADD_IMAGE_EXCLUDES="/etc/ltsp/image-local.excludes"
-OMIT_IMAGE_EXCLUDES="root/.ssh/*"
+OMIT_IMAGE_EXCLUDES="root/.*"
[clients]