Merge pull request #82 from cduez/default_group

Fix default group on the rake task.
This commit is contained in:
Fabio Rehm 2013-05-30 21:14:36 -07:00
commit ea467db17c

View file

@ -97,7 +97,7 @@ class BuildGenericBoxTask < ::Rake::TaskLib
run 'cleanup'
sh 'sudo rm -f rootfs.tar.gz'
sh 'sudo tar --numeric-owner -czf rootfs.tar.gz ./rootfs/*'
sh "sudo chown #{ENV['USER']}:#{ENV['USER']} rootfs.tar.gz"
sh "sudo chown #{ENV['USER']}:#{`id -gn`.strip} rootfs.tar.gz"
sh "cp #{pwd}/boxes/#{@distrib}/lxc-template ."
compile_metadata(pwd)
end