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
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
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