Skip to content

Manual changes to /etc/hosts are reverted on DHCP > Save Changes #1009

Description

@bit-becker

Steps to reproduce issue:

  • manually edit the /etc/hosts file via ssh.
  • Via web front end Connection > DHCP > Save Changes
  • manual changes to /etc/hosts are reverted

The createHostCommands variable should be removed completely, since DHCP configuration no longer lives in /etc/hosts there is no need to revert this file to factory setting.

createHostCommands = [ "touch /etc/hosts", "rm /etc/hosts" ];

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions