ClusterLabs/resource-agents — pull request #51 by mii (2012-01-30 02:24:22+00:00)
Title: Medium: lxc: fix LXC_status to work with lxc-0.7.5 or later

This patch is a revised patch for lxc ra, accepting fghaas's comment.

This patch fixes lxc-status function to work with lxc-0.7.5. lxc-status uses lxc-info command to get container status, but output of lxc-info has changed from lxc-0.7.5. This patch makes lxc-status work with not only lxc-0.7.5 but also the previous version of lxc.