summaryrefslogtreecommitdiffstats
path: root/builder/files/cleanup.sh
diff options
context:
space:
mode:
authorJames Shubin <james@shubin.ca>2014-01-11 20:11:08 -0500
committerJames Shubin <james@shubin.ca>2014-01-11 20:11:08 -0500
commit1b53a7caa2bea9b5131add615f21e7ea033e6be8 (patch)
tree72053bc22db1159783f5e65f1b699cf06ecfa796 /builder/files/cleanup.sh
parentddd1f6671de0d2b2e86aa7f0f73ddc67b690b16a (diff)
downloadpuppet-gluster-1b53a7caa2bea9b5131add615f21e7ea033e6be8.tar.gz
puppet-gluster-1b53a7caa2bea9b5131add615f21e7ea033e6be8.tar.xz
puppet-gluster-1b53a7caa2bea9b5131add615f21e7ea033e6be8.zip
Builder scripts for building vagrant base image "boxes".
Elegant system using a Makefile to build base image "boxes". It's recommended that you use the pre-built boxes, but the infrastructure is being provided here for completeness. You'll probably want to set the $(OUTPUT) variable first. Then use the 'box' target (make box) to produce output into the $(OUTPUT) directory.
Diffstat (limited to 'builder/files/cleanup.sh')
-rw-r--r--builder/files/cleanup.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/builder/files/cleanup.sh b/builder/files/cleanup.sh
new file mode 100644
index 0000000..765b343
--- /dev/null
+++ b/builder/files/cleanup.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+# Do some cleanup..
+rm -f ~root/.bash_history
+#rm -r "$(gem env gemdir)"/doc/*
+yum clean all
+