Quoting [email protected] ([email protected]): > Hi all > > In his article "Publishing LXD images", Serge Hallyn writes: > # lxc launch lxc:ubuntu/wily/amd64 w1 # lxc exec w1 -- apt-get -y install > upstart-bin upstart-sysv > > However, this does not work, since the wily container does not have an IP > address (I have used "wily" as a name instead of "w1"): > > david@kimera:~$ lxc list > +--------+---------+-----------+------+-----------+-----------+ > | NAME | STATE | IPV4 | IPV6 | EPHEMERAL | SNAPSHOTS | > +--------+---------+-----------+------+-----------+-----------+ > | trusty | RUNNING | 10.0.3.54 | | NO | 0 | > | wily | RUNNING | | | NO | 0 | > +--------+---------+-----------+------+-----------+-----------+ > david@kimera:~$ lxc image list > +-------+--------------+--------+-----------------------+--------+---------+------------------------------+ > | ALIAS | FINGERPRINT | PUBLIC | DESCRIPTION | ARCH | SIZE | > UPLOAD DATE | > +-------+--------------+--------+-----------------------+--------+---------+------------------------------+ > | | 1a62876f8e08 | no | Ubuntu wily (amd64) | x86_64 | 74.51MB | > Dec 7, 2015 at 12:32pm (CET) | > | | 23f3395b9409 | no | Ubuntu trusty (amd64) | x86_64 | 64.57MB | > Nov 30, 2015 at 6:57pm (CET) | > +-------+--------------+--------+-----------------------+--------+---------+------------------------------+ > > Therefore apt-get naturally fails. > > How can this be accomplished? I am interested in exactly this, a wily > container with upstart. > > Thanks, > David
You may just need to wait a bit until systemd is done configuring eth0. (Using the newest lxcfs on the host should speed that up) _______________________________________________ lxc-users mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-users
