_resin.configureFile(Vfs.lookup(configFile));
} catch (Exception e) {
throw ConfigException.create(e);
}
CloudSystem cloudSystem = TopologyService.getCurrent().getSystem();
if (cloudSystem.getClusterList().length == 0)
throw new ConfigException(L.l("Resin needs at least one defined <cluster>"));
String clusterId = cloudSystem.getClusterList()[0].getId();
_cluster = cloudSystem.findCluster(clusterId);
if (_cluster.getPodList().length == 0)
throw new ConfigException(L.l("Resin needs at least one defined <server> or <cluster-pod>"));
if (_cluster.getPodList()[0].getServerList().length == 0)