diff --git a/scripts/build-vyos-image b/scripts/build-vyos-image index 716a4cdec7..141da5e2fa 100755 --- a/scripts/build-vyos-image +++ b/scripts/build-vyos-image @@ -207,7 +207,7 @@ if __name__ == "__main__": sys.exit(1) # Validate characters in version name - if 'version' in args: + if 'version' in args and args['version'] != None: allowed = string.ascii_letters + string.digits + '.' + '-' + '+' if not set(args['version']) <= set(allowed): print(f'Version contained illegal character(s), allowed: {allowed}')