mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-04-29 05:53:27 +00:00
use shorter login message
And avoid to use debian version, because that changes over time and it is clumsy to keep in sync.
This commit is contained in:
parent
371dcc9243
commit
ad2c976367
@ -7,7 +7,6 @@ use PVE::Cluster;
|
|||||||
my $nodename = PVE::INotify::nodename();
|
my $nodename = PVE::INotify::nodename();
|
||||||
my $localip = PVE::Cluster::remote_node_ip($nodename, 1);
|
my $localip = PVE::Cluster::remote_node_ip($nodename, 1);
|
||||||
|
|
||||||
|
|
||||||
my $xline = '-' x 78;
|
my $xline = '-' x 78;
|
||||||
|
|
||||||
my $banner = '';
|
my $banner = '';
|
||||||
@ -28,8 +27,6 @@ __EOBANNER
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$banner .= "Debian GNU/Linux 7.0 \\n \\l\n\n";
|
|
||||||
|
|
||||||
open(ISSUE, ">/etc/issue");
|
open(ISSUE, ">/etc/issue");
|
||||||
|
|
||||||
print ISSUE $banner;
|
print ISSUE $banner;
|
||||||
|
3
debian/postinst
vendored
3
debian/postinst
vendored
@ -69,6 +69,9 @@ case "$1" in
|
|||||||
test -e /proxmox_install_mode || invoke-rc.d pveproxy restart
|
test -e /proxmox_install_mode || invoke-rc.d pveproxy restart
|
||||||
test -e /proxmox_install_mode || invoke-rc.d pvestatd restart
|
test -e /proxmox_install_mode || invoke-rc.d pvestatd restart
|
||||||
|
|
||||||
|
# rewrite banner
|
||||||
|
test -e /proxmox_install_mode || pvebanner || /bin/true
|
||||||
|
|
||||||
#a2ensite pve.conf >/dev/null 2>&1
|
#a2ensite pve.conf >/dev/null 2>&1
|
||||||
|
|
||||||
# There are three sub-cases:
|
# There are three sub-cases:
|
||||||
|
Loading…
Reference in New Issue
Block a user