projects
/
pxelator
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
d11898d
)
single target for openvz
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sat, 29 Aug 2009 21:09:55 +0000
(21:09 +0000)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sat, 29 Aug 2009 21:09:55 +0000
(21:09 +0000)
lib/PXElator/config.pm
patch
|
blob
|
history
diff --git
a/lib/PXElator/config.pm
b/lib/PXElator/config.pm
index
ccb08e0
..
722e13a
100644
(file)
--- a/
lib/PXElator/config.pm
+++ b/
lib/PXElator/config.pm
@@
-14,7
+14,7
@@
use File::Slurp;
our $mounted;
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) = @_;
sub debian_live {
my ($ip) = @_;
@@
-184,11
+184,7
@@
label nfsroot
});
}
});
}
-sub openvz_host {
- my $ip = shift;
- ssh::shell( $ip, 'cat /proc/vz/veinfo', 'vzlist -a', 'uptime', 'free', 'df' );
-}
-sub openvz_container {
+sub openvz {
my $ip = shift;
ssh::shell( $ip, 'cat /proc/vz/veinfo', 'uptime', 'free', 'df' );
}
my $ip = shift;
ssh::shell( $ip, 'cat /proc/vz/veinfo', 'uptime', 'free', 'df' );
}