From 43931d99c553f83332238e5464568cac961938c4 Mon Sep 17 00:00:00 2001 From: John Estabrook Date: Mon, 1 Jan 2024 14:54:07 -0600 Subject: image-tools: T5885: relax restriction on image-name len from 32 to 64 (cherry picked from commit 3a9688ddb07f6bac1eb92aa13c20e897129e8958) --- python/vyos/system/image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/vyos/system') diff --git a/python/vyos/system/image.py b/python/vyos/system/image.py index c03ce02d5..514275654 100644 --- a/python/vyos/system/image.py +++ b/python/vyos/system/image.py @@ -241,7 +241,7 @@ def validate_name(image_name: str) -> bool: Returns: bool: validation result """ - regex_filter = re_compile(r'^[\w\.+-]{1,32}$') + regex_filter = re_compile(r'^[\w\.+-]{1,64}$') if regex_filter.match(image_name): return True return False -- cgit v1.2.3