Merge pull request #82 from cduez/default_group
Fix default group on the rake task.
This commit is contained in:
commit
ea467db17c
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ class BuildGenericBoxTask < ::Rake::TaskLib
|
||||||
run 'cleanup'
|
run 'cleanup'
|
||||||
sh 'sudo rm -f rootfs.tar.gz'
|
sh 'sudo rm -f rootfs.tar.gz'
|
||||||
sh 'sudo tar --numeric-owner -czf rootfs.tar.gz ./rootfs/*'
|
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 ."
|
sh "cp #{pwd}/boxes/#{@distrib}/lxc-template ."
|
||||||
compile_metadata(pwd)
|
compile_metadata(pwd)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue