Allow IPv6 for vnc_bind_address (#1257)
authorBrian Candler <b.candler@pobox.com>
Tue, 11 Jul 2017 16:17:42 +0000 (17:17 +0100)
committerMorg <morgawr@gmail.com>
Tue, 11 Jul 2017 16:17:42 +0000 (17:17 +0100)
commite31b88fbdee1da09ee90b30842b01e176c013547
tree22916e3dd044c52ccffb2b6c66f1542fdce2e326
parentc138dbe4cda1067e6421a8b14e2bf6f9175ccf76
Allow IPv6 for vnc_bind_address (#1257)

e.g. gnt-cluster modify -H kvm:vnc_bind_address=::

Also fixes incorrect error message for invalid vnc_bind_address.

Note: this does not affect behaviour when you specify an interface
name, which still just binds to the first IPv4 address found.

Reviewed-by: Federico Morg Pareschi <morg@google.com>
lib/hypervisor/hv_kvm/__init__.py