summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-01-02 00:28:40 +0100
committerGitHub <noreply@github.com>2024-01-02 00:28:40 +0100
commit22bf0f39ef2b01e4515f1a1a5b0ef42a303de3a9 (patch)
tree78633804ed844e66090d6024da3cf40ce6e05418
parent25f2c9c4b1174507b17db4d5e34226f50dbdc781 (diff)
parent43931d99c553f83332238e5464568cac961938c4 (diff)
downloadvyos-1x-22bf0f39ef2b01e4515f1a1a5b0ef42a303de3a9.tar.gz
vyos-1x-22bf0f39ef2b01e4515f1a1a5b0ef42a303de3a9.zip
Merge pull request #2738 from vyos/mergify/bp/sagitta/pr-2737
image-tools: T5885: relax restriction on image-name len from 32 to 64 (backport #2737)
-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