from .xlate import XLATOR
-__version__ = '1.7.4'
+__version__ = '1.7.5'
LOG = logging.getLogger(__name__)
TZ = pytz.timezone('Europe/Berlin')
self.poweroff_vm()
self.cobbler.remove_system(tpl_sysname)
- return 0
-
if not self.abort and not self.postinstall_errors:
self.rotate_templates()
if not self.rotate_only:
def rename_and_change_vm(self):
LOG.info(_("Renaming VM {o!r} => {n!r} ...").format(
- o=self.config.template_vm, n=self.config.template_name))
+ o=self.tpl_vm_fqdn, n=self.config.template_name))
vm = self.get_temp_tpl_vm()
task = vm.Rename_Task(self.config.template_name)