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
cdf13992
Commit
cdf13992
authored
Mar 29, 2012
by
Dietmar Maurer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug #117: automatically add domain to hostname
parent
532e77c7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
1 deletion
+15
-1
OpenVZ.pm
PVE/API2/OpenVZ.pm
+7
-0
changelog.Debian
debian/changelog.Debian
+7
-0
defines.mk
defines.mk
+1
-1
No files found.
PVE/API2/OpenVZ.pm
View file @
cdf13992
...
...
@@ -349,6 +349,13 @@ __PACKAGE__->register_method({
$param
->
{
nameserver
}
=
join
('
',
@ns
)
if
scalar
(
@ns
);
}
# try to append domain to hostmane
if
(
$param
->
{
hostname
}
&&
$param
->
{
hostname
}
!~
m/\./
&&
$param
->
{
searchdomain
})
{
$param
->
{
hostname
}
.=
"
.
$param
->{searchdomain}
";
}
my
$basecfg_fn
=
PVE::OpenVZ::
config_file
(
$vmid
);
my
$check_vmid_usage
=
sub
{
...
...
debian/changelog.Debian
View file @
cdf13992
pve-manager (2.0-53) unstable; urgency=low
* fix bug #117: automatically add domain to hostname when creating
openvz containers.
-- Proxmox Support Team <support@proxmox.com> Thu, 29 Mar 2012 10:19:57 +0200
pve-manager (2.0-52) unstable; urgency=low
* fix Subscription code
...
...
defines.mk
View file @
cdf13992
...
...
@@ -2,7 +2,7 @@ RELEASE=2.0
VERSION=2.0
PACKAGE=pve-manager
PACKAGERELEASE=5
2
PACKAGERELEASE=5
3
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