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:
Dietmar Maurer 2013-06-17 11:22:33 +02:00
parent 371dcc9243
commit ad2c976367
2 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,6 @@ use PVE::Cluster;
my $nodename = PVE::INotify::nodename();
my $localip = PVE::Cluster::remote_node_ip($nodename, 1);
my $xline = '-' x 78;
my $banner = '';
@ -28,8 +27,6 @@ __EOBANNER
}
$banner .= "Debian GNU/Linux 7.0 \\n \\l\n\n";
open(ISSUE, ">/etc/issue");
print ISSUE $banner;

3
debian/postinst vendored
View File

@ -68,6 +68,9 @@ case "$1" in
test -e /proxmox_install_mode || invoke-rc.d pvedaemon restart
test -e /proxmox_install_mode || invoke-rc.d pveproxy 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