web: support sx-blade-2 for VNC applet
[invirt/packages/invirt-web.git] / code / templates / vnc.tmpl
index e3fbcca..c61b4f6 100644 (file)
@@ -16,7 +16,7 @@ Console to $machine.name
 <APPLET CODE="VncViewer.class" ARCHIVE="https://$hostname:446/static/VncViewer.jar"
         WIDTH="100%" HEIGHT="1000">
 <PARAM NAME="PASSWORD" VALUE="moocow">
-<PARAM NAME="PORT" VALUE="10003">
+<PARAM NAME="PORT" VALUE="$port">
 <PARAM NAME="HOST" VALUE="$hostname">
 <PARAM NAME="VMNAME" VALUE="$machine.name">
 <PARAM NAME="AUTHTOKEN" VALUE="$authtoken">