Try to clear out /var/tmp better.
authorCarl Hetherington <cth@carlh.net>
Fri, 27 May 2016 22:59:03 +0000 (23:59 +0100)
committerCarl Hetherington <cth@carlh.net>
Fri, 27 May 2016 22:59:03 +0000 (23:59 +0100)
cdistvm

diff --git a/cdistvm b/cdistvm
index c28c5645e28d5ee98bb31ef1a02883a498bb9efc..7772b824f7df4d15bbd66ba5cc56477461aae273 100755 (executable)
--- a/cdistvm
+++ b/cdistvm
@@ -69,7 +69,7 @@ ports = { 'fedora-22-32': 2000,
 
 vbox = subprocess.Popen('vboxheadless --startvm %s' % args.target, shell=True)
 time.sleep(10)
-command('ssh -p %d carl@localhost "rm -rf fedora-* arch-*"' % ports[args.target])
+command('ssh -p %d carl@localhost "rm -rf fedora-* arch-* /var/tmp/tmp*"' % ports[args.target])
 command('ssh -p %d carl@localhost %s' % (ports[args.target], cdist_cmd))
 if args.output is not None:
     tmp = tempfile.mkdtemp()