]> Frank Brehm's Git Trees - pixelpark/create-vmware-tpl.git/commitdiff
Fixed lib/cr_vmware_tpl/cobbler/profile.py
authorFrank Brehm <frank.brehm@pixelpark.com>
Mon, 20 Nov 2023 09:21:47 +0000 (10:21 +0100)
committerFrank Brehm <frank.brehm@pixelpark.com>
Mon, 20 Nov 2023 09:21:47 +0000 (10:21 +0100)
lib/cr_vmware_tpl/cobbler/profile.py

index b742c77e6a9659437418df3b3bd3c453840c64c4..7af28c38642af648c116eb693e3ddf7567b88a87 100644 (file)
@@ -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: