additional command for openvz introspection
authorDobrica Pavlinusic <dpavlin@rot13.org>
Wed, 16 Sep 2009 00:47:47 +0000 (00:47 +0000)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Wed, 16 Sep 2009 00:47:47 +0000 (00:47 +0000)
lib/PXElator/config.pm

index 722e13a..d59773c 100644 (file)
@@ -186,7 +186,7 @@ label nfsroot
 
 sub openvz {
        my $ip = shift;
-       ssh::shell( $ip, 'cat /proc/vz/veinfo', 'uptime', 'free', 'df' );
+       ssh::shell( $ip, 'cat /proc/vz/veinfo', 'vzlist -a', 'uptime', 'free', 'df', 'zfs list' );
 }
 sub printer     {}
 sub wrt         {}