]> git.proxmox.com Git - pve-installer.git/blobdiff - proxinstall
success: show real final IP addr with port
[pve-installer.git] / proxinstall
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);