from .xlate import XLATOR
-__version__ = '0.8.2'
+__version__ = '0.8.3'
LOG = logging.getLogger(__name__)
remote_ks = self.cfg.system_ks
LOG.info(_("Ensuring currentness of system kickstart script {!r}.").format(
str(remote_ks)))
+ return
print_section_start(
'ensure_system_ks', 'Ensuring currentness of system kickstart script', collapsed=True)
from .xlate import XLATOR
-__version__ = '1.9.2'
+__version__ = '1.9.3'
LOG = logging.getLogger(__name__)
_ = XLATOR.gettext
default_cobbler_ssh_timeout = 30
default_cobbler_distro = 'CentOS-8.2-x86_64'
default_cobbler_rootdir = Path('/var/lib/cobbler')
- default_cobbler_profile = 'vmware-template-' + default_os_id
default_cobbler_profile_repos = ['pp-centos8-baseos']
default_cobbler_nameservers = [
'93.188.109.11',
valid_system_status = ('development', 'testing', 'acceptance', 'production')
default_system_status = 'development'
+ default_cobbler_profile = 'vmware-template-' + default_os_id + '-' + default_system_status
+
default_swap_size_mb = 512
# -------------------------------------------------------------------------
self.template_name = self.os_id + '-template'
if not self.cobbler_profile_given:
- self.cobbler_profile = 'vmware-template-' + self.os_id
+ self.cobbler_profile = 'vmware-template-' + self.os_id + '-' + self.system_status
self.verify_cobbler_distros()
from .xlate import XLATOR
-__version__ = '2.1.1'
+__version__ = '2.1.2'
LOG = logging.getLogger(__name__)
TZ = pytz.timezone('Europe/Berlin')
LOG.debug(_("Starting handling ..."))
self.cobbler.get_cobbler_version()
self.check_for_cobbler_distro()
+ self.cobbler.ensure_system_ks()
return 0
self.cobbler.ensure_profile()
self.cobbler.ensure_root_authkeys()
self.cobbler.ensure_rsyslog_cfg_files()
- self.cobbler.ensure_system_ks()
self.cobbler.ensure_snippets()
self.cobbler.ensure_keys()
self.cobbler.ensure_repo_files()