]> git.proxmox.com Git - pve-installer.git/commitdiff
success: show real final IP addr with port
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 16 Jul 2019 13:06:24 +0000 (15:06 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 16 Jul 2019 13:07:51 +0000 (15:07 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
html-pmg/success.htm
html-pve/success.htm
proxinstall

index ca7024abcd19cc3f782ede929655fa113e0ddb09..ef2ecb33bbc753fe8d7261db4ab7ef76d71564ed 100644 (file)
     <br><br><br>
     The Proxmox Mail Gateway is now installed and ready to use.
     <br><br><br>
-    <table border="0" width="400">
+    <table border="0" width="500">
       <tbody><tr>
        <td width="40">&nbsp;</td>
        <td valign="top" width="30"><img src="plus.png"></td>
-       <td valign="top" width="560"><b>Next steps</b><br><br>Reboot and point your web browser to the selected IP address:<br><br>
-         https://&lt;IP&gt;:8006
+       <td valign="top" width="560"><b>Next steps</b><br><br>Reboot and point your web browser to the selected IP address on port 8006:<br><br>
+         https://@IPADDR@:8006
          <br><br>
          Also visit <a href="https://www.proxmox.com">www.proxmox.com</a> for more information.
        </td>
index e9c36d8b0e115c7d0049312cb8ed34ca759c7028..954fde56bd754313b47612a82a861d17e30ed5e8 100644 (file)
     <br><br><br>
     The Proxmox Virtual Environment is now installed and ready to use.
     <br><br><br>
-    <table border="0" width="400">
+    <table border="0" width="500">
       <tbody><tr>
        <td width="40">&nbsp;</td>
        <td valign="top" width="30"><img src="plus.png"></td>
-       <td valign="top" width="560"><b>Next steps</b><br><br>Reboot and point your web browser to the selected IP address.
+       <td valign="top" width="560"><b>Next steps</b><br><br>Reboot and point your web browser to the selected IP address on port 8006:<br><br>
+         https://@IPADDR@:8006
          <br><br>
          Also visit <a href="https://www.proxmox.com">www.proxmox.com</a> for more information.
        </td>
index b06da138a166a46a64a349c30dd62e95722636cf..f7d6e29bc659fd00fc1653a40f3fbb7015675811 100755 (executable)
@@ -1868,6 +1868,9 @@ sub display_html {
        my $title = "END USER LICENSE AGREEMENT (EULA)";
        $data =~ s/__LICENSE__/$license/;
        $data =~ s/__LICENSE_TITLE__/$title/;
+    } elsif ($filename eq 'success.htm') {
+       my $addr = $ipversion == 6 ? "[${ipaddress}]" : "$ipaddress";
+       $data =~ s/\@IPADDR\@/$addr/;
     }
 
     $htmlview->load_html($data, $url);