From: Frank Brehm Date: Fri, 12 Jun 2020 12:28:03 +0000 (+0200) Subject: Bugfixing X-Git-Tag: 2.1.2^2~9^2~31^2~45 X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=d0068a30be53044c6cf71b1ad53b410cea75aae2;p=pixelpark%2Fcreate-vmware-tpl.git Bugfixing --- diff --git a/lib/cr_vmware_tpl/cobbler.py b/lib/cr_vmware_tpl/cobbler.py index 7a0fcd0..95019df 100644 --- a/lib/cr_vmware_tpl/cobbler.py +++ b/lib/cr_vmware_tpl/cobbler.py @@ -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)