[lxc-users] Macros in profile configurations
Jamie Brown
Jamie.Brown at mpec.co.uk
Fri Mar 24 07:30:22 UTC 2017
Hi,
I’m first going to admit I don’t know the answer to your specific question, though it’s not something I’ve come across.
I’d suggest cloud-init (which is supported by lxd and assignable to profiles) may be more appropriate for this?
https://cloudinit.readthedocs.io/en/latest/
Jamie
On 22/03/2017, 10:31, "lxc-users on behalf of MonkZ" <lxc-users-bounces at lists.linuxcontainers.org on behalf of i at monkz.de> wrote:
Hi,
is it possible to create a profile that has container specific
variables/macros?
like:
devices:
specific-share:
path: /srv/$CONTAINERNAME-share/
source: /var/lib/lxd/storage-pools/lxd/custom/share/$CONTAINERNAME/
type: disk
Regards
MonkZ
More information about the lxc-users
mailing list