--- lib/PXElator/config.pm 2009/08/29 18:07:49 348 +++ lib/PXElator/config.pm 2009/09/16 00:47:47 434 @@ -14,7 +14,7 @@ our $mounted; -sub available { qw/debian_live webconverger debirf tinycore nfsroot openvz_host openvz_container printer wrt/ }; +sub available { qw/debian_live webconverger debirf tinycore nfsroot openvz printer wrt/ }; sub debian_live { my ($ip) = @_; @@ -184,13 +184,9 @@ }); } -sub openvz_host { +sub openvz { my $ip = shift; - ssh::shell( $ip, 'cat /proc/vz/veinfo', 'vzlist -a', 'uptime', 'free', 'df' ); -} -sub openvz_container { - 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 {}