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
532e77c7
Commit
532e77c7
authored
Mar 29, 2012
by
Dietmar Maurer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use validdirectory instead of validdomains
parent
fbf2ad18
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
5 deletions
+12
-5
Subscription.pm
PVE/API2/Subscription.pm
+5
-4
changelog.Debian
debian/changelog.Debian
+6
-0
defines.mk
defines.mk
+1
-1
No files found.
PVE/API2/Subscription.pm
View file @
532e77c7
...
...
@@ -85,15 +85,15 @@ sub check_fields {
return
undef
if
$info
->
{
status
}
ne
'
Active
';
foreach
my
$f
(
qw(validd
omain
productname regdate nextduedate)
)
{
foreach
my
$f
(
qw(validd
irectory
productname regdate nextduedate)
)
{
if
(
!
$info
->
{
$f
})
{
die
"
Missing field '
$f
'
\n
";
}
}
my
$found
;
foreach
my
$
dom
(
split
(
/,/
,
$info
->
{
validdomain
}))
{
if
(
$
dom
eq
$server_id
)
{
foreach
my
$
hwid
(
split
(
/,/
,
$info
->
{
validdirectory
}))
{
if
(
$
hwid
eq
$server_id
)
{
$found
=
1
;
last
;
}
...
...
@@ -193,7 +193,8 @@ sub check_subscription {
my
$params
=
{
licensekey
=>
$key
,
domain
=>
$server_id
,
dir
=>
$server_id
,
domain
=>
'
www.proxmox.com
',
ip
=>
'
localhost
',
check_token
=>
$check_token
,
};
...
...
debian/changelog.Debian
View file @
532e77c7
pve-manager (2.0-52) unstable; urgency=low
* fix Subscription code
-- Proxmox Support Team <support@proxmox.com> Thu, 29 Mar 2012 09:32:32 +0200
pve-manager (2.0-51) unstable; urgency=low
* fix bug #55: add Migrate and Stop to context menu
...
...
defines.mk
View file @
532e77c7
...
...
@@ -2,7 +2,7 @@ RELEASE=2.0
VERSION=2.0
PACKAGE=pve-manager
PACKAGERELEASE=5
1
PACKAGERELEASE=5
2
BINDIR=${DESTDIR}/usr/bin
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