addon-lxdone
addon-lxdone copied to clipboard
Hardcoded DATASTORE location
Hello,
In a preexisting installation of OpenNebula 5.4, after changing the value of DATASTORE_LOCATION in oned.conf, the default /var/lib/one/datastores/ are hardcoded in the lxd addon, hence the value in onde.conf is never changed.
Relevant files are:
https://github.com/OpenNebula/addon-lxdone/blob/7bc9b165e97e3a37488ba9169a2bb3ed186460ca/src/remotes/vmm/lxd/deploy.py#L103
and
https://github.com/OpenNebula/addon-lxdone/blob/7bc9b165e97e3a37488ba9169a2bb3ed186460ca/src/remotes/vmm/lxd/lxd_common.py#L153
Thanks!
We'll apply the patch to remove all the hardcodes soon. Sorry for the delay.