From cc069a5caa44210d64dcd830bb6d96b2747ce683 Mon Sep 17 00:00:00 2001 From: Fabio Rehm Date: Tue, 26 Mar 2013 22:05:41 -0300 Subject: [PATCH] Clean up quantal64 rootfs after building box --- tasks/boxes.rake | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/boxes.rake b/tasks/boxes.rake index 143017e..c382729 100644 --- a/tasks/boxes.rake +++ b/tasks/boxes.rake @@ -12,6 +12,7 @@ namespace :boxes do sh 'rm -f boxes/quantal64/rootfs.tar.gz' sh 'cd boxes/quantal64 && sudo tar --numeric-owner -czf rootfs.tar.gz ./rootfs-amd64/*' sh "cd boxes/quantal64 && sudo chown #{ENV['USER']}:#{ENV['USER']} rootfs.tar.gz && tar -czf ../output/lxc-quantal64.box ./* --exclude=rootfs-amd64 --exclude=download-ubuntu" + sh 'cd boxes/quantal64 && sudo rm -rf rootfs-amd64' end end end