Re: [Lxc-users] small improvement to lxc scripts

2012-06-15 Thread Papp Tamas
On 06/14/2012 11:40 PM, -- NeoX -- wrote: > #!/bin/bash > [...custom script...] In Ubuntu 12.04 there is a custom script called lxc-list: #!/bin/sh set -e if [ ! -x "$(which lxc-info 2>/dev/null)" ] then echo "E: lxc-info - no such file" exit 1 fi for _STATUS in RUNNING STOPPED do

Re: [Lxc-users] small improvement to lxc scripts

2012-06-14 Thread Serge Hallyn
Quoting Serge Hallyn (serge.hal...@canonical.com): > Quoting -- NeoX -- (exitn...@hotmail.com): > > > > Hi all, > > did not you get annoyed by lxc-ls mixing available and running containers ? > > How do you mean mixing? The first line is available containers, the > second line running ones. Not

Re: [Lxc-users] small improvement to lxc scripts

2012-06-14 Thread Serge Hallyn
Quoting -- NeoX -- (exitn...@hotmail.com): > > Hi all, > did not you get annoyed by lxc-ls mixing available and running containers ? How do you mean mixing? The first line is available containers, the second line running ones. Nothing wrong with scripts, especially custom local ones, having pre