whiskerz007 / proxmox_hassio_lxc

MIT License
209 stars 84 forks source link

Container creation fail on storage local disabled #31

Open Joriks opened 4 years ago

Joriks commented 4 years ago

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 commented 3 years ago

ea671eb added support for using an alternative template storage pool.