--bindhome option should be on lxc-create, not on lxc-ubuntu

Bug #1043004 reported by Dan Kegel on 2012-08-28
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lxc (Ubuntu)
Wishlist
Unassigned

Bug Description

The ubuntu template has a handy --bindhome option, but that's not very useful if you need to support
multiple guest OS's.
That option should be hoisted out of the template and into lxc-create itself.

Serge Hallyn (serge-hallyn) wrote :

Thanks for taking the time to report this bug.

It would certainly seem less work to implement this at lxc-create than the templates. However, some templates (like busybox) may not easily support the concept, and some homegrown templates may exist for distros which do not follow conventions (i.e. home directories under '/').

I'll mark the bug triaged and wishlist priority. If you have a patch for this, please feel free to post it here or on the lxc-devel mailing list.

Changed in lxc (Ubuntu):
status: New → Triaged
importance: Undecided → Wishlist
Stéphane Graber (stgraber) wrote :

With current LXC, those templates aren't really a thing anymore and most of our users use unprivileged containers which require quite a bit more involved configuration to pass a host directory than just injecting a mount entry.

If this is a useful pattern for a user, writing a dedicated ".conf" file for the system and passing that to `lxc-create` seems more appropriate.

Changed in lxc (Ubuntu):
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers