summaryrefslogtreecommitdiff
path: root/cloudinit/distros/debian.py
diff options
context:
space:
mode:
authorJoshua Harlow <harlowja@yahoo-inc.com>2012-11-13 13:47:30 -0800
committerJoshua Harlow <harlowja@yahoo-inc.com>2012-11-13 13:47:30 -0800
commitc7c6ac0aa83192ffc267c27878712652dade35d1 (patch)
treecf0772928094cef6532c265e7c21b4bd3b6c607f /cloudinit/distros/debian.py
parentf6e994611cf87ea40f2c90991126d29e54b0efed (diff)
downloadvyos-cloud-init-c7c6ac0aa83192ffc267c27878712652dade35d1.tar.gz
vyos-cloud-init-c7c6ac0aa83192ffc267c27878712652dade35d1.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. LP: #1078452
Diffstat (limited to 'cloudinit/distros/debian.py')
0 files changed, 0 insertions, 0 deletions