summaryrefslogtreecommitdiff
path: root/cloudinit/config/cc_set_hostname.py
diff options
context:
space:
mode:
authorChad Smith <chad.smith@canonical.com>2020-08-20 15:51:35 -0600
committerGitHub <noreply@github.com>2020-08-20 15:51:35 -0600
commit747723a42c98fa13080ea31127e289e7b826046f (patch)
treefdfece56467d4a75f6266ffa5c628777863fe1cf /cloudinit/config/cc_set_hostname.py
parentd941c7f7846e0216873384044d20f4b6723697c5 (diff)
downloadvyos-cloud-init-747723a42c98fa13080ea31127e289e7b826046f.tar.gz
vyos-cloud-init-747723a42c98fa13080ea31127e289e7b826046f.zip
cmd: cloud-init query to handle compressed userdata (#516)
cloud-init query tries to directly load and decode raw user-data from /var/lib/cloud/instance/user-data.txt. This results in UnicodeDecodeErrors on some platforms which provide compressed content. Avoid UnicodeDecoderErrors when parsing compressed user-data at /var/lib/cloud/instance/user-data.txt. LP: #1889938
Diffstat (limited to 'cloudinit/config/cc_set_hostname.py')
0 files changed, 0 insertions, 0 deletions