Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2.1 interfaces migration #227

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

svenrademakers
Copy link
Collaborator

@svenrademakers svenrademakers commented Dec 20, 2024

A user defined interfaces file from <= v2.0 is not compatible with v2.1 and onwards. In order to ease migration the following approach is chosen:

  • users that did not touch the interfaces configuration are automatically upgraded
  • pre v2.1 configuration, (meaning: there are traces of the eth0 interface or incomplete new configuration) is moved to /etc/network/interfaces_bak. Stock /etc/network/interfaces is loaded.

This means that users who have custom setup's are required to manually migrate their configs. They would need to upgrade the firmware, NOT reboot. update the /etc/network/interfaces file and restart the board

A user defined interfaces file from <= v2.0 is not compatible with v2.1
and onwards. In order to ease migration the following approach is
chosen:

* users that did not touch the interfaces configuration are
  automatically upgraded
* pre v2.1 configuration, (meaning: there are traces of
  the eth0 interface or incomplete new configuration) is moved to
  /etc/network/interfaces_bak. Stock /etc/network/interfaces is loaded.

This means that users are required to manually migrate their configs.
They would need to upgrade the firmware, **NOT** reboot. update the
/etc/network/interfaces file and restart the board
@svenrademakers svenrademakers force-pushed the feature/interfaces_migration branch from d920462 to ac7eef1 Compare December 20, 2024 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant