Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pve-manager
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
pve-manager
Commits
8d4f53a0
Commit
8d4f53a0
authored
Feb 16, 2012
by
Dietmar Maurer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
do not install PVE::APLInfo
We need to rewrite that for final 2.0 release.
parent
1b3f8012
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
Makefile
PVE/Makefile
+1
-2
pveam
bin/pveam
+6
-5
No files found.
PVE/Makefile
View file @
8d4f53a0
...
@@ -10,8 +10,7 @@ PERLSOURCE = \
...
@@ -10,8 +10,7 @@ PERLSOURCE = \
REST.pm
\
REST.pm
\
OpenVZ.pm
\
OpenVZ.pm
\
OpenVZMigrate.pm
\
OpenVZMigrate.pm
\
VZDump.pm
\
VZDump.pm
APLInfo.pm
all
:
pvecfg.pm ${SUBDIRS}
all
:
pvecfg.pm ${SUBDIRS}
...
...
bin/pveam
View file @
8d4f53a0
#!/usr/bin/perl -w
#!/usr/bin/perl -w
use
strict
;
use
strict
;
use
PVE::
APLInfo
;
use
PVE::
Cluster
;
use
PVE::
Config
;
#use PVE::APLInfo
;
if
(
scalar
(
@ARGV
)
!=
1
)
{
if
(
scalar
(
@ARGV
)
!=
1
)
{
print
STDERR
"
usage: $0 CMD
\n
";
print
STDERR
"
usage: $0 CMD
\n
";
...
@@ -12,9 +12,10 @@ if (scalar (@ARGV) != 1) {
...
@@ -12,9 +12,10 @@ if (scalar (@ARGV) != 1) {
my
$cmd
=
shift
;
my
$cmd
=
shift
;
if
(
$cmd
eq
'
update
')
{
if
(
$cmd
eq
'
update
')
{
my
$pvecfg
=
PVE::Config::
read_file
('
pvecfg
');
my
$dccfg
=
PVE::Cluster::
cfs_read_file
('
datacenter.cfg
');
exit
(
0
)
if
PVE::APLInfo::
update
(
$pvecfg
->
{
http_proxy
});
die
"
sorry, this is currently not implemented
\n
";
print
STDERR
"
update failed - see /var/log/pveam.log for details
\n
";
#exit (0) if PVE::APLInfo::update($dccfg->{http_proxy});
#print STDERR "update failed - see /var/log/pveam.log for details\n";
exit
(
-
1
);
exit
(
-
1
);
}
else
{
}
else
{
print
STDERR
"
unknown CMD '
$cmd
'
\n
";
print
STDERR
"
unknown CMD '
$cmd
'
\n
";
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment