]> Frank Brehm's Git Trees - pixelpark/create-vmware-tpl.git/commitdiff
Bugfixing
authorFrank Brehm <frank.brehm@pixelpark.com>
Fri, 12 Jun 2020 12:28:03 +0000 (14:28 +0200)
committerFrank Brehm <frank.brehm@pixelpark.com>
Fri, 12 Jun 2020 12:28:03 +0000 (14:28 +0200)
lib/cr_vmware_tpl/cobbler.py

index 7a0fcd0962325d52ee39bccf77bf91dae7e2f0be..95019df882504715123ae2cc72fb169fd0144d66 100644 (file)
@@ -40,7 +40,7 @@ from .config import CrTplConfiguration
 
 from .xlate import XLATOR
 
-__version__ = '0.5.3'
+__version__ = '0.5.4'
 
 LOG = logging.getLogger(__name__)
 
@@ -742,7 +742,7 @@ class Cobbler(BaseHandler):
 
         cur_ip = None
         assigments = {}
-        re_lease_start = re.compile(r'^\s*lease\s+((?:\d{1,3}:){3}\d{1,3})\s+', re.IGNORECASE)
+        re_lease_start = re.compile(r'^\s*lease\s+((?:\d{1,3}\.){3}\d{1,3})\s+', re.IGNORECASE)
         re_mac = re.compile(
             r'^\s*hardware\s+ethernet\s+((?:[0-9a-f]{2}:){5}[0-9a-f]{2})\s*;', re.IGNORECASE)