from .config import CrTplConfiguration
-__version__ = '0.9.1'
+__version__ = '0.9.2'
LOG = logging.getLogger(__name__)
TZ = pytz.timezone('Europe/Berlin')
LOG.warn("Aborting after creation of template VM.")
LOG.warn("You are responsible yourself to cleaning up the VM!!!")
else:
+ self.post_install_tasks_ssh()
if self.postinstall_errors:
self.purge_template_vm()
return 10
else:
- self.post_install_tasks_ssh()
self.poweroff_vm()
self.change_mac_address()
if not self.abort and not self.postinstall_errors:
if output:
self.postinstall_errors = output
LOG.error("Got postinstall errors:\n{}".format(output))
+ else:
+ LOG.info("No postinstall errors found.")
finally:
if ssh:
# -------------------------------------------------------------------------
def post_install_tasks_ssh(self):
- LOG.info("Executing tasks per SSH after successful installation ...")
+ LOG.info("Executing tasks per SSH after installation ...")
ssh = None