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)
|
## [0.6.0](https://github.com/fgrehm/vagrant-lxc/compare/v0.5.0...v0.6.0) (Sep 12, 2013)
|
||||||
|
|
||||||
IMPROVEMENTS:
|
IMPROVEMENTS:
|
||||||
|
|
|
@ -25,7 +25,7 @@ GIT
|
||||||
PATH
|
PATH
|
||||||
remote: .
|
remote: .
|
||||||
specs:
|
specs:
|
||||||
vagrant-lxc (0.6.0)
|
vagrant-lxc (0.6.1.dev)
|
||||||
|
|
||||||
GEM
|
GEM
|
||||||
remote: https://rubygems.org/
|
remote: https://rubygems.org/
|
||||||
|
|
|
@ -153,6 +153,7 @@ module Vagrant
|
||||||
|
|
||||||
@logger.debug 'Copying LXC template into place'
|
@logger.debug 'Copying LXC template into place'
|
||||||
@sudo_wrapper.run('cp', path, tmp_template_path)
|
@sudo_wrapper.run('cp', path, tmp_template_path)
|
||||||
|
@sudo_wrapper.run('chmod', '+x', tmp_template_path)
|
||||||
|
|
||||||
yield template_name
|
yield template_name
|
||||||
ensure
|
ensure
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
module Vagrant
|
module Vagrant
|
||||||
module LXC
|
module LXC
|
||||||
VERSION = "0.6.0"
|
VERSION = "0.6.1.dev"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue