Stop adding private IPs to PUBLIC_IPS and vice versa. If a VM comes with no private or public IP, the respective array will have no members, and PRIVATE_IP/PUBLIC_IP will be empty. Also throw in LOCAL_IP (even though it only assigns 127.0.0.1 really). Any private/public IP juggling logic should happen in the consumer scripts (e.g. zoneinit include scripts shipped with image templates). This is DATASET-1084.