From b724d76966137679827bb8475d5faf8344392cc4 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Mon, 20 Nov 2023 10:21:47 +0100 Subject: [PATCH] Fixed lib/cr_vmware_tpl/cobbler/profile.py --- lib/cr_vmware_tpl/cobbler/profile.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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: -- 2.39.5