Revision 5b460366 lib/hypervisor/hv_xen.py
b/lib/hypervisor/hv_xen.py | ||
---|---|---|
527 | 527 |
constants.HT_HVM_VALID_DISK_TYPES)) |
528 | 528 |
# vnc_bind_address verification |
529 | 529 |
vnc_bind_address = hvparams[constants.HV_VNC_BIND_ADDRESS] |
530 |
if vnc_bind_address is not None:
|
|
530 |
if vnc_bind_address: |
|
531 | 531 |
if not utils.IsValidIP(vnc_bind_address): |
532 | 532 |
raise errors.OpPrereqError("given VNC bind address '%s' doesn't look" |
533 | 533 |
" like a valid IP address" % |
Also available in: Unified diff