From: Frank Brehm Date: Mon, 20 Nov 2023 09:21:47 +0000 (+0100) Subject: Fixed lib/cr_vmware_tpl/cobbler/profile.py X-Git-Tag: 3.2.1~5^2~5 X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=b724d76966137679827bb8475d5faf8344392cc4;p=pixelpark%2Fcreate-vmware-tpl.git Fixed lib/cr_vmware_tpl/cobbler/profile.py --- diff --git a/lib/cr_vmware_tpl/cobbler/profile.py b/lib/cr_vmware_tpl/cobbler/profile.py index b742c77..7af28c3 100644 --- a/lib/cr_vmware_tpl/cobbler/profile.py +++ b/lib/cr_vmware_tpl/cobbler/profile.py @@ -27,7 +27,7 @@ from .. import print_section_start, print_section_end from ..errors import ExpectedCobblerError from ..xlate import XLATOR -__version__ = '0.2.1' +__version__ = '0.2.2' LOG = logging.getLogger(__name__) @@ -258,7 +258,8 @@ class CobblerProfile(): ks_meta_list.append("WS_REL_FILESDIR={}".format(self.cfg.cobbler_ws_rel_filesdir)) ks_meta_list.append("COBBLER_URL=http://{}".format(self.cfg.cobbler_host)) if self.current_distro.is_rhel: - ks_meta_list.append("RHEL9_REPOSERVER_URL={}".format(self.cfg.rhel9_repo_server_url) + ks_meta_list.append( + "RHEL9_REPOSERVER_URL={}".format(self.cfg.rhel9_repo_server_url)) ks_meta = ' '.join(ks_meta_list) @@ -334,7 +335,7 @@ class CobblerProfile(): ks_meta_list.append("WS_REL_FILESDIR={}".format(self.cfg.cobbler_ws_rel_filesdir)) ks_meta_list.append("COBBLER_URL=http://{}".format(self.cfg.cobbler_host)) if self.current_distro.is_rhel: - ks_meta_list.append("RHEL9_REPOSERVER_URL={}".format(self.cfg.rhel9_repo_server_url) + ks_meta_list.append("RHEL9_REPOSERVER_URL={}".format(self.cfg.rhel9_repo_server_url)) ks_meta = None if ks_meta_list: