wishlist: connect to lxc container by name using avahi
Bug #824167 reported by
Sidnei da Silva
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxc (Ubuntu) |
Won't Fix
|
Wishlist
|
Unassigned |
Bug Description
Would be really nice to be able to 'ssh <container>.local' by using avahi-daemon to advertise the container.
Changed in lxc (Ubuntu): | |
importance: | Undecided → Wishlist |
status: | New → Confirmed |
To post a comment you must log in.
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?