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
7d0cbbdc
Commit
7d0cbbdc
authored
Jun 19, 2015
by
Dietmar Maurer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pveversion: fix package list for pve 4.0
parent
6847970b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
APT.pm
PVE/API2/APT.pm
+6
-3
No files found.
PVE/API2/APT.pm
View file @
7d0cbbdc
...
...
@@ -524,7 +524,7 @@ __PACKAGE__->register_method({
my
$pkgrecords
=
$cache
->
packages
();
# try to use a resonable ordering (most important things first)
my
@list
=
qw(proxmox-ve
-3.10.0
pve-manager)
;
my
@list
=
qw(proxmox-ve pve-manager)
;
foreach
my
$pkgname
(
keys
%
$cache
)
{
if
(
$pkgname
=~
m/pve-kernel-/
)
{
...
...
@@ -533,7 +533,10 @@ __PACKAGE__->register_method({
}
}
push
@list
,
qw(lvm2 clvm corosync-pve libqb0 resource-agents-pve fence-agents-pve pve-cluster qemu-server pve-firmware libpve-common-perl libpve-access-control libpve-storage-perl pve-libspice-server1 vncterm vzctl vzprocps vzquota pve-qemu-kvm ksm-control-daemon glusterfs-client)
;
# comment out old packages uses before 4.0
# resource-agents-pve fence-agents-pve vzctl vzprocps vzquota
push
@list
,
qw(lvm2 clvm corosync-pve libqb0 pve-cluster qemu-server pve-firmware libpve-common-perl libpve-access-control libpve-storage-perl pve-libspice-server1 vncterm pve-qemu-kvm pve-container pve-firewall pve-ha-manager ksm-control-daemon glusterfs-client lxc-pve)
;
my
$pkglist
=
[]
;
...
...
@@ -560,7 +563,7 @@ __PACKAGE__->register_method({
# hack: add some useful information (used by 'pveversion -v')
if
(
$pkgname
eq
'
pve-manager
')
{
$res
->
{
ManagerVersion
}
=
$pvever
;
}
elsif
(
$pkgname
eq
'
proxmox-ve
-3.10.0
')
{
}
elsif
(
$pkgname
eq
'
proxmox-ve
')
{
$res
->
{
RunningKernel
}
=
$kernel_release
;
}
...
...
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