At least for Ubuntu images you can also use cloud-init, but the syntax varies depending on underlying tools and will thus vary between operating systems and releases. It is on the other hand capable of configuring more than network settings.
That’s good advice. You also get the basic config the way you want it, then create an image from it. You can take advantage of image cache from that for fast replication or cloning if that works better for you.
Finally I solved the problem by restarting the whole LXD Host. Then my container got proper static ip address.
No idea why is that.
I also tried your method it is interesting too.
He used markdown formatting. When you click to reply a post, you get some formatting icons such as B for bold, I for italics and so on. The one that has the icon </> is for preformatted text, and it’s the one used above.
I don’t know if it’s the same on mobile, but in my browser I get a basic editor when making posts or replying. By highlighting text and then clicking the icon looking like </> the text gets indented. Indentation is used in markdown as one means of making text appear without formatting in a monospaced font. There have to be blank lines before and after such a paragraph though.
You can also use backticks in numerous ways, see the link above!