Re: [lxc-users] LXD static IP in container

2020-02-11 Thread Joshua Schaeffer
Not sure this will help but I provided my configuration for LXD below. I use Ubuntu so you'd have to translate the configuration network configuration portions over to RedHat/CentOS. My containers' configure their own interfaces (static, dhcp, or whatever), LXD simply defines the interface. Thes

Re: [lxc-users] lxc profiles

2020-02-11 Thread Michael Eager
On 1/23/20 10:12 AM, Mike Wright wrote: Hi everybody, I have a question about profiles. Are they used only in the initial "lxc launch" or do they have a continuing role? They appear to be used when the container starts, i.e., "lxc exec". Changes in the profile take effect when the container

Re: [lxc-users] LXD static IP in container

2020-02-11 Thread Michael Eager
On 2/11/20 11:00 AM, Mike Wright wrote: On 2/11/20 10:01 AM, Michael Eager wrote: There's still a lot of confusion.  :-/ Yes, here too.  I'm experimenting with the nic types but a lot of the problems I'm running into have to do with me misunderstanding the LXD command syntax.  The docs are r

Re: [lxc-users] LXD static IP in container

2020-02-11 Thread Mike Wright
On 2/11/20 10:01 AM, Michael Eager wrote: On 2/8/20 1:32 PM, Mike Wright wrote: On 2/6/20 8:29 AM, Michael Eager wrote: Thanks.  I had tried this, but it didn't appear to work.  I just tried it again and got it to work. I assume that I can move the eth0 definition back to the profile, without

Re: [lxc-users] LXD static IP in container

2020-02-11 Thread Michael Eager
On 2/8/20 1:32 PM, Mike Wright wrote: On 2/6/20 8:29 AM, Michael Eager wrote: Thanks.  I had tried this, but it didn't appear to work.  I just tried it again and got it to work. I assume that I can move the eth0 definition back to the profile, without the ipv4.address specification. https://lx