pve-manager/bin/pveam
Dietmar Maurer 8d4f53a074 do not install PVE::APLInfo
We need to rewrite that for final 2.0 release.
2012-02-16 11:13:23 +01:00

24 lines
527 B
Perl
Executable File

#!/usr/bin/perl -w
use strict;
use PVE::Cluster;
#use PVE::APLInfo;
if (scalar (@ARGV) != 1) {
print STDERR "usage: $0 CMD\n";
exit (-1);
}
my $cmd = shift;
if ($cmd eq 'update') {
my $dccfg = PVE::Cluster::cfs_read_file('datacenter.cfg');
die "sorry, this is currently not implemented\n";
#exit (0) if PVE::APLInfo::update($dccfg->{http_proxy});
#print STDERR "update failed - see /var/log/pveam.log for details\n";
exit (-1);
} else {
print STDERR "unknown CMD '$cmd'\n";
exit (-1);
}