Quoting Stefan Schlesinger (s...@ono.at): > > On Jun 28, 2012, at 5:35 PM, Ward, David - 0663 - MITLL wrote: > > Just FYI, current git now allows you to list running containers > > only with the '--active' flag to lxc-ls. > > The current version in Git also lists 'lost+found' as a virtual machine, > in case /var/lib/lxc is a separate filesystem (same to lxc-list). > > I'd really like to urge to revise these commands, before the lxc API will > freeze.
Good point. But note that lxc-ls is currently a script with no code in liblxc, so while we may get a version of the API with no ls defined, at least it won't have ls badly defined :) > IMHO the functionality of the three status commands could even be merged into > a single utility: > > * lxc-ls > * lxc-list > * lxc-info Jonathan, is your modified lxc-ls another script? I liked the output of your lxc-ls :) Would someone care to write a patch to implement ls in the api, against lp:~ubuntu-lxc/ubuntu/quantal/lxc/lxc-api-and-python/ (define it in src/lxc/lxccontainer.{c,h}? I may not be able to get to it until the week after next. -serge ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel