]> git.proxmox.com Git - pve-manager.git/blame_incremental - bin/pvebanner
bump version to 8.2.6
[pve-manager.git] / bin / pvebanner
... / ...
CommitLineData
1#!/usr/bin/perl
2
3use strict;
4use PVE::INotify;
5use PVE::Cluster;
6
7my $nodename = PVE::INotify::nodename();
8my $localip = PVE::Cluster::remote_node_ip($nodename, 1);
9
10my $xline = '-' x 78;
11
12my $banner = '';
13
14if ($localip) {
15 $banner .= <<__EOBANNER;
16
17$xline
18
19Welcome to the Proxmox Virtual Environment. Please use your web browser to
20configure this server - connect to:
21
22 https://${localip}:8006/
23
24$xline
25
26__EOBANNER
27
28}
29
30open(ISSUE, ">/etc/issue");
31
32print ISSUE $banner;
33
34close(ISSUE);
35
36exit (0);