diff --git a/salt/modules/lxc.py b/salt/modules/lxc.py index 0ebf539856..555ad99deb 100644 --- a/salt/modules/lxc.py +++ b/salt/modules/lxc.py @@ -117,7 +117,7 @@ def version(): ''' k = 'lxc.version' if not __context__.get(k, None): - cversion = __salt__['cmd.run_all']('lxc-ls --version') + cversion = __salt__['cmd.run_all']('lxc-info --version') if not cversion['retcode']: ver = distutils.version.LooseVersion(cversion['stdout']) if ver < distutils.version.LooseVersion('1.0'):