diff options
author | Scott Moser <smoser@ubuntu.com> | 2011-12-19 22:48:36 -0500 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2011-12-19 22:48:36 -0500 |
commit | bf26b04812edd6c6feaf58723bea95c22fb9a9f7 (patch) | |
tree | c5ecdec26215125cd28945a54dcc5f7f01845a91 /cloudinit/CloudConfig/cc_keys_to_console.py | |
parent | 4ee421211816b9f40e09585137b42a8fcec42218 (diff) | |
parent | e75dc94a288ecec8f6096658b96c1d1154ce0bdd (diff) | |
download | vyos-cloud-init-bf26b04812edd6c6feaf58723bea95c22fb9a9f7.tar.gz vyos-cloud-init-bf26b04812edd6c6feaf58723bea95c22fb9a9f7.zip |
revert default handling of /etc/hosts to 0.6.1 style (Ubuntu 11.04)
The default management of /etc/hosts in 0.6.2 (Ubuntu 11.10)
was problematic for a couple different uses, and represented a change
in what was present in previous releases.
This changes the default behavior back to the way it was in 11.04/0.6.1.
It makes 'manage_etc_hosts' in cloud-config more than just a boolean.
It can now have 3 values:
* False (default): do not update /etc/hosts ever
* "localhost": manage /etc/hosts' 127.0.1.1 entry (the way it was done
in 11.10/0.6.2)
* True (or "template"): manage /etc/hosts via template file
This addresses bugs
* LP: #890501
* LP: #871966
LP: #890501, #871966
Diffstat (limited to 'cloudinit/CloudConfig/cc_keys_to_console.py')
0 files changed, 0 insertions, 0 deletions