summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-01-01 23:21:43 +0100
committerGitHub <noreply@github.com>2024-01-01 23:21:43 +0100
commitfc0fe0e0ed37e987e0fbf5c4fe9dad40e50a4a73 (patch)
treefaa3a3042c6b536205915754fce2e387cd7916f5
parent27b9a45ef3460e1a8db03b9e8f0aeacdd3619b07 (diff)
parent3a9688ddb07f6bac1eb92aa13c20e897129e8958 (diff)
downloadvyos-1x-fc0fe0e0ed37e987e0fbf5c4fe9dad40e50a4a73.tar.gz
vyos-1x-fc0fe0e0ed37e987e0fbf5c4fe9dad40e50a4a73.zip
Merge pull request #2737 from jestabro/len-image-name
image-tools: T5885: relax restriction on image-name len from 32 to 64
-rw-r--r--python/vyos/system/image.py2
1 files changed, 1 insertions, 1 deletions
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