Add rake task to package a minimal LXC box
This commit is contained in:
parent
f40d3a1a96
commit
a579f04bce
3 changed files with 7 additions and 0 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -21,3 +21,5 @@ doc/
|
|||
|
||||
.vagrant
|
||||
/cache
|
||||
|
||||
/dummy-ubuntu-cloudimg.box
|
||||
|
|
1
dummy-box-files/metadata.json
Normal file
1
dummy-box-files/metadata.json
Normal file
|
@ -0,0 +1 @@
|
|||
{"provider":"lxc"}
|
4
tasks/package_dummy_box.rake
Normal file
4
tasks/package_dummy_box.rake
Normal file
|
@ -0,0 +1,4 @@
|
|||
desc 'Packages a dummy Vagrant box to be used during development'
|
||||
task :package_dummy_box do
|
||||
sh 'cd dummy-box-files/ && tar -czf ../dummy-ubuntu-cloudimg.box ./*'
|
||||
end
|
Loading…
Reference in a new issue