The templates tweak dhclient.conf so that the container should send its
hostname.  If you have dnsmasq running (i.e. if you are connecting your
clients to a libvirt bridge), and your host has 'nameserver
192.168.122.1' at the top, then you should be able to 'ssh
<container>.'.

Since lxc is not setting up your network environment, I'm not sure that
it is proper for lxc itself to do any more.  Does the above work for
you?

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/824167

Title:
  wishlist: connect to lxc container by name using avahi

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/824167/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to