from fb_tools.handler import BaseHandler
from fb_tools.vsphere import BaseVsphereHandler
+from fb_tools.vsphere.server import VsphereServer
from .config import CrTplConfiguration
-__version__ = '0.10.1'
+__version__ = '0.10.2'
LOG = logging.getLogger(__name__)
TZ = pytz.timezone('Europe/Berlin')
self.abort = False
self.postinstall_errors = None
- self.vsphere = BaseVsphereHandler(
+ self.vsphere = VsphereServer(
appname=self.appname, verbose=self.verbose, base_dir=self.base_dir,
host=self.config.vsphere_host, port=self.config.vsphere_port,
user=self.config.vsphere_user, password=self.config.password,
dc=self.config.dc, cluster=self.config.vsphere_cluster,
- simulate=self.simulate, force=self.force,
+ auto_close=True, simulate=self.simulate, force=self.force,
terminal_has_colors=self.terminal_has_colors, initialized=False)
if initialized: