diff options
author | John Estabrook <jestabro@vyos.io> | 2024-01-01 14:54:07 -0600 |
---|---|---|
committer | John Estabrook <jestabro@vyos.io> | 2024-01-01 14:54:07 -0600 |
commit | 3a9688ddb07f6bac1eb92aa13c20e897129e8958 (patch) | |
tree | faa3a3042c6b536205915754fce2e387cd7916f5 /python | |
parent | 27b9a45ef3460e1a8db03b9e8f0aeacdd3619b07 (diff) | |
download | vyos-1x-3a9688ddb07f6bac1eb92aa13c20e897129e8958.tar.gz vyos-1x-3a9688ddb07f6bac1eb92aa13c20e897129e8958.zip |
image-tools: T5885: relax restriction on image-name len from 32 to 64
Diffstat (limited to 'python')
-rw-r--r-- | python/vyos/system/image.py | 2 |
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 |