from .config import CrTplConfiguration
-__version__ = '0.10.5'
+__version__ = '0.10.6'
LOG = logging.getLogger(__name__)
TZ = pytz.timezone('Europe/Berlin')
LOG.error("Could not find VSphere cluster {!r}.".format(self.config.vsphere_cluster))
return 6
+ if self.config.network not in self.cluster.networks:
+ LOG.error("Network {n!r} not available in cluster {c!r}.".format(
+ n=self.config.network, c=self.cluster.name))
+ return 6
+
self.vsphere.ensure_vm_folder(self.config.folder)
self.check_for_temp_tpl_vm(no_error=True)
self.select_data_store()