@Override
    public List<HostSpec> prepare(ClusterSpec cluster, Capacity quantity, ProvisionLogger logger) {
        throw new UnsupportedOperationException("Using <nodes count=\"...\"> is not supported when there is a " +
                                                "hosts.xml file. Remove hosts.xml to make this deployable on " +
                                                "Vespa Cloud and single-node self-hosted instances.");
    }
Called when provisioning nodes using &lt;nodes count="..."
config-model/src/main/java/com/yahoo/config/model/provision/HostsXmlProvisioner.java