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

cc_vyos: T6007: Run config migrations before Cloud-init #72

Merged
merged 1 commit into from
Feb 6, 2024

Conversation

zdc
Copy link
Contributor

@zdc zdc commented Feb 6, 2024

Configuration in vyos_config_commands is expected to use a syntax from the target VyOS version. But, if Cloud-init applies configuration commands to a default file, all the migrations (from the 0 version to the latest) will still be executed on top of it.

This process can break proper config, for example, if the current syntax variant partially repeats one of the older ones, which will trigger a migration without need.

Configuration in `vyos_config_commands` is expected to use a syntax from the
target VyOS version. But, if Cloud-init applies configuration commands to a
default file, all the migrations (from the 0 version to the latest) will still
be executed on top of it.

This process can break proper config, for example, if the current syntax variant
partially repeats one of the older ones, which will trigger a migration without
need.
@c-po c-po merged commit e9842fc into vyos:equuleus Feb 6, 2024
1 of 2 checks passed
@c-po
Copy link
Member

c-po commented Feb 6, 2024

@Mergifyio backport sagitta

Copy link

mergify bot commented Feb 6, 2024

backport sagitta

❌ No backport have been created

  • Backport to branch sagitta failed

GitHub error: Branch not found

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

Successfully merging this pull request may close these issues.

4 participants