Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Container creation fail on storage local disabled #31

Open
Joriks opened this issue Sep 4, 2020 · 1 comment
Open

Container creation fail on storage local disabled #31

Joriks opened this issue Sep 4, 2020 · 1 comment

Comments

@Joriks
Copy link

Joriks commented Sep 4, 2020

I have disable local storage and using other name convention for container/vm storage, and other for templates, isos, etc, maybe you can add a variable for the storage where the template of debian is downloaded.

Lines afected are 99 and 128
In my case i just modified them to get it working

99c99
< pveam download local $TEMPLATE >/dev/null ||
---
> pveam download hd-wh-lvm $TEMPLATE >/dev/null ||
128c128
< TEMPLATE_STRING="local:vztmpl/${TEMPLATE}"
---
> TEMPLATE_STRING="hd-wh-lvm:vztmpl/${TEMPLATE}"

And thanks for your effort creating these scripts ^^

@whiskerz007
Copy link
Owner

ea671eb added support for using an alternative template storage pool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants