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
d07f49c3
Commit
d07f49c3
authored
Feb 27, 2012
by
Dietmar Maurer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avoid warning in pvestatd for containers with old config files
parent
82862044
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
5 deletions
+19
-5
OpenVZ.pm
PVE/OpenVZ.pm
+12
-4
changelog.Debian
debian/changelog.Debian
+6
-0
defines.mk
defines.mk
+1
-1
No files found.
PVE/OpenVZ.pm
View file @
d07f49c3
...
@@ -209,10 +209,18 @@ sub vmstatus {
...
@@ -209,10 +209,18 @@ sub vmstatus {
$d
->
{
disk
}
=
0
;
$d
->
{
disk
}
=
0
;
$d
->
{
maxdisk
}
=
int
(
$conf
->
{
diskspace
}
->
{
bar
}
*
1024
);
$d
->
{
maxdisk
}
=
int
(
$conf
->
{
diskspace
}
->
{
bar
}
*
1024
);
$d
->
{
mem
}
=
0
;
if
(
defined
(
$conf
->
{
swappages
}))
{
$d
->
{
maxmem
}
=
int
(((
$conf
->
{
physpages
}
->
{
lim
}
+
$conf
->
{
swappages
}
->
{
lim
})
*
4096
));
$d
->
{
mem
}
=
0
;
$d
->
{
swap
}
=
0
;
$d
->
{
maxmem
}
=
int
(((
$conf
->
{
physpages
}
->
{
lim
}
+
$d
->
{
maxswap
}
=
int
(((
$conf
->
{
swappages
}
->
{
lim
})
*
4096
));
$conf
->
{
swappages
}
->
{
lim
})
*
4096
));
$d
->
{
swap
}
=
0
;
$d
->
{
maxswap
}
=
int
(((
$conf
->
{
swappages
}
->
{
lim
})
*
4096
));
}
else
{
$d
->
{
mem
}
=
0
;
$d
->
{
maxmem
}
=
int
(
$conf
->
{
vmguarpages
}
->
{
bar
}
*
4096
);
$d
->
{
swap
}
=
0
;
$d
->
{
maxswap
}
=
0
;
}
$d
->
{
nproc
}
=
0
;
$d
->
{
nproc
}
=
0
;
$d
->
{
failcnt
}
=
0
;
$d
->
{
failcnt
}
=
0
;
...
...
debian/changelog.Debian
View file @
d07f49c3
pve-manager (2.0-35) unstable; urgency=low
* avoid warning in pvestatd for containers with old config files
-- Proxmox Support Team <support@proxmox.com> Mon, 27 Feb 2012 11:37:48 +0100
pve-manager (2.0-34) unstable; urgency=low
pve-manager (2.0-34) unstable; urgency=low
* add Swedish keyboard layout
* add Swedish keyboard layout
...
...
defines.mk
View file @
d07f49c3
...
@@ -2,7 +2,7 @@ RELEASE=2.0
...
@@ -2,7 +2,7 @@ RELEASE=2.0
VERSION=2.0
VERSION=2.0
PACKAGE=pve-manager
PACKAGE=pve-manager
PACKAGERELEASE=3
4
PACKAGERELEASE=3
5
BINDIR=${DESTDIR}/usr/bin
BINDIR=${DESTDIR}/usr/bin
PERLLIBDIR=${DESTDIR}/usr/share/perl5
PERLLIBDIR=${DESTDIR}/usr/share/perl5
...
...
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