Note that switching to python3 and using the lxc api directly would be
a far better way to automate lxc usage.
#/usr/bin/python3
import lxc
c=lxc.Container("test")
c.create("ubuntu-cloud")
c.start(daemonize=True)
c.wait("RUNNING")
ips=c.get_ips()
print(ips[0])
c.stop()
c.destroy()
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1264338
Title:
could not route the host for container
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1264338/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs