diff options
author | Scott Moser <smoser@ubuntu.com> | 2012-11-13 18:41:31 -0500 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2012-11-13 18:41:31 -0500 |
commit | 8ae9c57ca05a0f99131a6693c109cbb52c0f0d4d (patch) | |
tree | 6df7295f5eab5740761b598ebfe545a06b88a8f0 /cloudinit/helpers.py | |
parent | e016e7c7837c70f5fce0c3b3d9bd944a8d43f9f0 (diff) | |
parent | e91fbc058cdd709a561863202231076788323782 (diff) | |
download | vyos-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