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

Autoconfig can lead to invalid netplan #534

Open
x13-me opened this issue Nov 11, 2024 · 2 comments
Open

Autoconfig can lead to invalid netplan #534

x13-me opened this issue Nov 11, 2024 · 2 comments

Comments

@x13-me
Copy link
Collaborator

x13-me commented Nov 11, 2024

Autoconfig documentation needs updating to clarify what changes it makes to the netplan, it is entirely possible to generate an invalid netplan

@x13-me
Copy link
Collaborator Author

x13-me commented Nov 11, 2024

if PRESET_NET_CHANGE_DEFAULTS="1" and PRESET_NET_ETHERNET_ENABLED="1", but a static IP is not provided, the netplan config generated will work at first boot, then break and prevent networking after a reboot

Documentation should be updated to reflect this

@igorpecovnik
Copy link
Member

but a static IP is not provided

Perhaps adding IF this is not provided, to display WARNING and skip auto-config due to this?

x13-me added a commit to x13-me/armbian-documentation that referenced this issue Nov 19, 2024
Added warning about potentially broken config, resolves armbian#534
x13-me added a commit to x13-me/armbian-documentation that referenced this issue Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants