summaryrefslogtreecommitdiff
path: root/src/conf_mode/host_name.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-04-20 15:11:18 +0200
committerChristian Poessinger <christian@poessinger.com>2019-04-20 15:11:18 +0200
commit05c539ea5595790b297904569cbe13089ce79e18 (patch)
treeccf406c7ab59ff1f3ededcd3d08c6be84fa73ec3 /src/conf_mode/host_name.py
parent890d8b84e372095f988102cbe5921cccb9feb910 (diff)
downloadvyos-1x-05c539ea5595790b297904569cbe13089ce79e18.tar.gz
vyos-1x-05c539ea5595790b297904569cbe13089ce79e18.zip
[hostname] T1336: trailing dots in system domain-name are invalid
Debian/Systemd provides hostnamectl which disabllows setting a FQDN when there is a trailing (.) in the provided hostname. Extend regex when setting "system domain-name" that there can't be a trailing (.). Provide migration script for current installations to remove the dot.
Diffstat (limited to 'src/conf_mode/host_name.py')
0 files changed, 0 insertions, 0 deletions