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

migration: T2838: fix parsing of quoted config value for hw-id #144

Merged
merged 1 commit into from
Apr 1, 2021

Conversation

jestabro
Copy link
Contributor

@jestabro jestabro commented Apr 1, 2021

configtree places values in quotes; consequently, during migration, unquoted values in the config file will be quoted. This is reasonable, and in certainly cases, necessary; however, 'vyatta_net_name' does not consider this when parsing for hw-id, and consequently will re-write the hw-id in the interface block, leading to a redundancy. This is a quick (and likely temporary) fix for that bug.

@jestabro jestabro self-assigned this Apr 1, 2021
@jestabro jestabro requested a review from dmbaturin April 1, 2021 16:45
@jestabro jestabro merged commit d586300 into vyos:current Apr 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants