Revision 9769bb78 scripts/gnt-instance

b/scripts/gnt-instance
1187 1187
    if vnc_bind_address:
1188 1188
      port = instance["network_port"]
1189 1189
      display = int(port) - constants.VNC_BASE_PORT
1190
      if display > 0 and vnc_bind_address == constants.BIND_ADDRESS_GLOBAL:
1190
      if display > 0 and vnc_bind_address == constants.IP4_ADDRESS_ANY:
1191 1191
        vnc_console_port = "%s:%s (display %s)" % (instance["pnode"],
1192 1192
                                                   port,
1193 1193
                                                   display)

Also available in: Unified diff