diff options
author | Scott Moser <smoser@ubuntu.com> | 2011-08-03 13:02:01 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2011-08-03 13:02:01 -0400 |
commit | 96edbdc300e6697d7160bccfbb8669c67e57164c (patch) | |
tree | 485852eda0f48c52d39007694c3c8550c2a39128 /TODO | |
parent | ac88bd830da5c283ba584e2a0cc6eeef447d5461 (diff) | |
download | vyos-cloud-init-96edbdc300e6697d7160bccfbb8669c67e57164c.tar.gz vyos-cloud-init-96edbdc300e6697d7160bccfbb8669c67e57164c.zip |
improve update_etc_hosts method in cc_update_etc_hosts
This fixes a couple issues with the updating of /etc/hosts
by the update-etc-hosts cloud-config module.
* if hostname changed in the life of the instance, an additional
"header" line would be added.
* any comment lines like '#mycomment' would be deleted because
they did not have 2 fields
Diffstat (limited to 'TODO')
0 files changed, 0 insertions, 0 deletions