diff options
| author | Daniil Baturin <daniil@vyos.io> | 2026-09-10 15:44:08 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-10 15:44:08 +0100 |
| commit | 40ec47ec75373717c7847ae1a6b545250fb4967c (patch) | |
| tree | a231d91c1b88ec13c50e9cae15bf27699c89c922 /src/migration-scripts | |
| parent | 6441ff0be6c08ffe94f9ab32900273c4d0e4785a (diff) | |
| parent | 3231d1062d0930a9344dd8550243331696ca27eb (diff) | |
| download | vyos-1x-40ec47ec75373717c7847ae1a6b545250fb4967c.tar.gz vyos-1x-40ec47ec75373717c7847ae1a6b545250fb4967c.zip | |
Merge pull request #5456 from c-po/containerlab-fixes
T9269: fix container boot failures and two config diffing regressions they exposed
Diffstat (limited to 'src/migration-scripts')
| -rw-r--r-- | src/migration-scripts/system/31-to-32 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/migration-scripts/system/31-to-32 b/src/migration-scripts/system/31-to-32 index e92473835..89b604a7f 100644 --- a/src/migration-scripts/system/31-to-32 +++ b/src/migration-scripts/system/31-to-32 @@ -39,8 +39,9 @@ def migrate(config: ConfigTree) -> None: vars_file: str = f'{root_dir}/{CFG_VYOS_VARS}' vars_current: dict[str, str] = vars_read(vars_file) # A system without persistent GRUB storage - like VyOS running inside a - # container - has no boot console we could detect - if not vars_current: + # container - has no boot console we could detect. Neither has one whose + # GRUB vars carry no console_type, e.g. a flavor that bakes no console data + if 'console_type' not in vars_current: return # Check if VyOS installation uses serial boot console |
