Ensures lxc templates are executable prior to running lxc-create
Closes #128
This commit is contained in:
parent
bda01dbc4d
commit
d02a9d575f
4 changed files with 9 additions and 2 deletions
|
@ -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:
|
||||
|
|
|
@ -25,7 +25,7 @@ GIT
|
|||
PATH
|
||||
remote: .
|
||||
specs:
|
||||
vagrant-lxc (0.6.0)
|
||||
vagrant-lxc (0.6.1.dev)
|
||||
|
||||
GEM
|
||||
remote: https://rubygems.org/
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
module Vagrant
|
||||
module LXC
|
||||
VERSION = "0.6.0"
|
||||
VERSION = "0.6.1.dev"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue