You are not logged in.

#1 2014-02-25 08:10:19

hede
Member
Registered: 2013-01-03
Posts: 9

lxc-list command in lxc

Hi,

there's no lxc-list command in arch linux?
(lxc version: 0.9.0)

I'm using it on my debian server very often and I think it's quite handy. (lxc version: 0.8.0-rc1)
I'm missing it on arch.

I think it's not a bug by not having it, because it seems to be some debian specific extension (not upstream). But it would be a "nice to have" also for arch and it's a really small, clean and simple shell script. I copied it to my arch linux and it works ootb.

hede

Offline

#2 2014-02-25 13:45:15

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: lxc-list command in lxc

Offline

#3 2014-03-14 15:10:56

zidarsk8
Member
Registered: 2011-12-06
Posts: 97

Re: lxc-list command in lxc

that didn't qute work for me, so I've made a few modifications if anyone is still interested

https://github.com/zidarsk8/lxc-list

Offline

#4 2014-03-28 14:20:47

starfry
Member
From: Surrey, UK
Registered: 2010-08-18
Posts: 230

Re: lxc-list command in lxc

I like that, but it doesn't work with LXC 1.0 because the lxc-ps command, which the script relies upon, has been withdrawn.
@zidarsk8 I've modified it to use lxc-attach instead. PR dropped to the repo for you.

Last edited by starfry (2014-03-28 14:23:02)

Offline

Board footer

Powered by FluxBB