diff options
author | Andy Fiddaman <andy@omniosce.org> | 2021-09-02 14:26:28 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-02 09:26:28 -0500 |
commit | 7fe0f900adcd45a74a24b7f9b251e2ee35b53b54 (patch) | |
tree | 61e5b54fc5c4ac815c5e7347725555dd61dbbe0a /tests | |
parent | f6c71fd758a3589ac5f62fd251d60b00edf5bb1c (diff) | |
download | vyos-cloud-init-7fe0f900adcd45a74a24b7f9b251e2ee35b53b54.tar.gz vyos-cloud-init-7fe0f900adcd45a74a24b7f9b251e2ee35b53b54.zip |
cc_update_etc_hosts: Use the distribution-defined path for the hosts file (#983)
The distribution class has a field that specifies the location of
the system hosts file and this can be overridden in subclasses.
While the field is correctly used in distro.update_etc_hosts(), the
update_etc_hosts module does not use it and just assumes '/etc/hosts'
This fixes the module to use the distribution-specific variable.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions