Page MenuHomeVyOS Platform

current rolling does not accept an empty pre-/post-login banner
Closed, ResolvedPublic

Description

vyos@vyos# show system login banner
>post-login ""
vyos@vyos# commit
[ system login banner ]
Traceback (most recent call last):
  File "/usr/libexec/vyos/conf_mode/system-login-banner.py", line 85, in <module>
    c = get_config()
  File "/usr/libexec/vyos/conf_mode/system-login-banner.py", line 52, in get_config
    tmp = tmp.replace('\\n','\n')
AttributeError: 'NoneType' object has no attribute 'replace'

Details

Difficulty level
Unknown (require assessment)
Version
1.3-rolling-202003031741
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)