summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2024-01-01 14:54:07 -0600
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-01-01 22:22:31 +0000
commit43931d99c553f83332238e5464568cac961938c4 (patch)
tree78633804ed844e66090d6024da3cf40ce6e05418 /python
parent25f2c9c4b1174507b17db4d5e34226f50dbdc781 (diff)
downloadvyos-1x-43931d99c553f83332238e5464568cac961938c4.tar.gz
vyos-1x-43931d99c553f83332238e5464568cac961938c4.zip
image-tools: T5885: relax restriction on image-name len from 32 to 64
(cherry picked from commit 3a9688ddb07f6bac1eb92aa13c20e897129e8958)
Diffstat (limited to 'python')
-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