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" 
<[email protected] on behalf of [email protected]> 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
    
    

_______________________________________________
lxc-users mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to