summaryrefslogtreecommitdiff
path: root/src/op_mode/version.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-04-20 15:32:30 +0200
committerChristian Poessinger <christian@poessinger.com>2019-04-20 15:32:30 +0200
commit27c4afd725a3024f72fafc11bd1d5b88bbbeabe9 (patch)
tree9640c6bc3a35b0d13cfbef0a58768ed6e3ffb6b1 /src/op_mode/version.py
parent7681f586860bb4ad22f5b83fb6144a13556954c4 (diff)
downloadvyos-1x-27c4afd725a3024f72fafc11bd1d5b88bbbeabe9.tar.gz
vyos-1x-27c4afd725a3024f72fafc11bd1d5b88bbbeabe9.zip
[hostname] T1336: sanitize FQDN before passing to hostnamectl
Remove possible trialing (.) when invoking hostnamectl. A hostname with a trailing (.) is not supported in hostnamectl.
Diffstat (limited to 'src/op_mode/version.py')
0 files changed, 0 insertions, 0 deletions