summaryrefslogtreecommitdiff
path: root/cloudinit/cs_utils.py
diff options
context:
space:
mode:
authorzsdc <taras@vyos.io>2020-09-17 21:23:14 +0300
committerzsdc <taras@vyos.io>2020-09-17 21:36:35 +0300
commit5637aed50b3dc728cc41d31bf737221f0ad2ee82 (patch)
tree56a640d64ea25ca08d9acbffbf8689315fa1daa6 /cloudinit/cs_utils.py
parenta4e042222c0dc3976db5e7f0aa041d5d22c3e9d2 (diff)
downloadvyos-cloud-init-5637aed50b3dc728cc41d31bf737221f0ad2ee82.tar.gz
vyos-cloud-init-5637aed50b3dc728cc41d31bf737221f0ad2ee82.zip
cc_vyos: T2117: Revert back to get_hostname_fqdn() function
Unfortunately, `cloud.get_hostname()` does not work if a hostname was configured using cloud-config. So, we still need to use the `get_hostname_fqdn()` from `cloudinit.util`. Also, was added configuration for domain-name to handle FQDN properly, if it is available.
Diffstat (limited to 'cloudinit/cs_utils.py')
0 files changed, 0 insertions, 0 deletions