On Fri, Apr 29, 2016 at 10:18:01AM -0700, Dan Kegel wrote: > So... why doesn't lxd init figure out the address to bind to itself? > I mean, I guess I can write a script that looks up the current IP > address and then invokes lxd init, but that seems clumsy. > Is lxd's primary target audience servers that have lots of addresses? > > And if DHCP changes the host's address, will lxd be bound to a stale address? > (The subtle answer might be "for gosh sakes don't use dhcp for > servers", I suppose.)
You can use 0.0.0.0 or [::] to bind all addresses. But yes, most people run LXD on hosts that have multiple addresses and only want it to bind to a single one, typically some management address. -- Stéphane Graber Ubuntu developer http://www.ubuntu.com
signature.asc
Description: PGP signature
_______________________________________________ lxc-users mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-users
