[Bug 1273689] Re: lxc-version is missing since 1.0.0beta3 - now lacking a programatic way to query lxc version
JuanJo Ciarlante
1273689 at bugs.launchpad.net
Tue Jan 28 19:15:46 UTC 2014
(sorry, early comment posting) - ie querying the version now cross
releases would involve something alike:
version=$((lxc-version 2>/dev/null || lxc-start --version) | sed 's/.*
//')
That 'sed' is to cope with lxc-version textual formatting, while lxc-
start --version shows it straight.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1273689
Title:
lxc-version is missing since 1.0.0beta3 - now lacking a programatic
way to query lxc version
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1273689/+subscriptions
More information about the Ubuntu-server-bugs
mailing list