[LXD 4.2] post template command


I looking for something with LXD to run a ifup command automatically when my /etc/network/interfaces template was binded. There is a way to do that ?

:thinking: I guess there are multiple solutions to that:
For example with cloudinit: https://cloudinit.readthedocs.io/en/latest/topics/examples.html#run-commands-on-first-boot

Hum. Yes I think it’s the better way in my case. :+1:
Thank you toby63

1 Like