fix bug #117: automatically add domain to hostname
This commit is contained in:
parent
532e77c765
commit
cdf139926b
@ -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 {
|
||||
|
7
debian/changelog.Debian
vendored
7
debian/changelog.Debian
vendored
@ -1,3 +1,10 @@
|
||||
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
|
||||
|
@ -2,7 +2,7 @@ RELEASE=2.0
|
||||
|
||||
VERSION=2.0
|
||||
PACKAGE=pve-manager
|
||||
PACKAGERELEASE=52
|
||||
PACKAGERELEASE=53
|
||||
|
||||
BINDIR=${DESTDIR}/usr/bin
|
||||
PERLLIBDIR=${DESTDIR}/usr/share/perl5
|
||||
|
Loading…
x
Reference in New Issue
Block a user