summaryrefslogtreecommitdiff
path: root/cloudinit/helpers.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2012-11-13 18:41:31 -0500
committerScott Moser <smoser@ubuntu.com>2012-11-13 18:41:31 -0500
commit8ae9c57ca05a0f99131a6693c109cbb52c0f0d4d (patch)
tree6df7295f5eab5740761b598ebfe545a06b88a8f0 /cloudinit/helpers.py
parente016e7c7837c70f5fce0c3b3d9bd944a8d43f9f0 (diff)
parente91fbc058cdd709a561863202231076788323782 (diff)
downloadvyos-cloud-init-8ae9c57ca05a0f99131a6693c109cbb52c0f0d4d.tar.gz
vyos-cloud-init-8ae9c57ca05a0f99131a6693c109cbb52c0f0d4d.zip
Only attempt to read the previous hostname file if it exists.
- Instead of always reading the previous hostname file even if it did not exist lets only read it if it is a valid variable and is actually a existent file instead of just attempting to read it always. - Also update the logging that is done when a previous file does not exist. LP: #1078452
Diffstat (limited to 'cloudinit/helpers.py')
0 files changed, 0 insertions, 0 deletions