Ensures lxc templates are executable prior to running lxc-create

Closes #128
This commit is contained in:
Fabio Rehm 2013-09-21 01:28:01 -03:00
parent bda01dbc4d
commit d02a9d575f
4 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,9 @@
## [0.6.1](https://github.com/fgrehm/vagrant-lxc/compare/v0.6.0...master) (unreleased)
IMPROVEMENTS:
- Make sure lxc templates are executable prior to `lxc-create` [#128](https://github.com/fgrehm/vagrant-lxc/issues/128)
## [0.6.0](https://github.com/fgrehm/vagrant-lxc/compare/v0.5.0...v0.6.0) (Sep 12, 2013)
IMPROVEMENTS:

View file

@ -25,7 +25,7 @@ GIT
PATH
remote: .
specs:
vagrant-lxc (0.6.0)
vagrant-lxc (0.6.1.dev)
GEM
remote: https://rubygems.org/

View file

@ -153,6 +153,7 @@ module Vagrant
@logger.debug 'Copying LXC template into place'
@sudo_wrapper.run('cp', path, tmp_template_path)
@sudo_wrapper.run('chmod', '+x', tmp_template_path)
yield template_name
ensure

View file

@ -1,5 +1,5 @@
module Vagrant
module LXC
VERSION = "0.6.0"
VERSION = "0.6.1.dev"
end
end