This repository has been archived by the owner on Nov 24, 2022. It is now read-only.
Ensure the lxc templates are executable prior to lxc-create
#128
Labels
lxc-create
#128
While creating my own vagrant-lxc box, I ran
VAGRANT_LOG=DEBUG vagrant up --provider lxc
and noticed the following in the log:Later the command failed to run with:
I managed to solve the problem with a missing
chmod +x lxc-template
, but I think we don't need to copy the template in /usr/share/lxc/templates.As stated in lxc-create manpage in the "-t" section:
Alternatively, the full path to an executable template script can also be passed as a parameter.
Is this right ? Can we make lxc-create work without copying the template ?
The text was updated successfully, but these errors were encountered: