Tell users to clean up behind them.
authorPeter Palfrader <peter@palfrader.org>
Tue, 10 Dec 2013 16:59:38 +0000 (17:59 +0100)
committerPeter Palfrader <peter@palfrader.org>
Tue, 10 Dec 2013 16:59:38 +0000 (17:59 +0100)
modules/motd/templates/motd.erb

index ac394e1..3160aec 100644 (file)
@@ -142,6 +142,16 @@ if ninfo['not-bacula-client'] then
             " data, run your own backups.\n"
 end
 
+if classes.include?("porterbox")
+  purp += "\nPlease clean up any schroots after you are done using them.  Please also\n" +
+    "remove any build and source trees in your home directory once you no longer\n" +
+    "need them.  Disk space on porter machines often is scarce.  If it becomes\n" +
+    "necessary we will delete your entire home directory without warning, but this\n" +
+    "really implies that you have been misusing resources.  We would prefer this\n" +
+    "not become necessary.\n" +
+    "  *** Clean up behind you! ***\n"
+end
+
 
 if scope.lookupvar('site::nodeinfo').has_key?('footer')
   purp += "\n" + wrap(scope.lookupvar('site::nodeinfo')['footer']) + "\n"