Page MenuHomeVyOS Platform

Wrong host-name value breaks the whole configuration in images with Cloud-init
Closed, ResolvedPublicBUG

Description

A host-name value applying by cc_vyos.py as-is from a meta-data. It may contain characters not allowed to be used.
Therefore, configuration with such a hostname value cannot be applied at the first boot, which makes a router unusable.

We need to add a check for host-name value inside cc_vyos.py to be sure that it always be able to be applied by the system.

Details

Difficulty level
Unknown (require assessment)
Version
1.2.5
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible

Event Timeline

zsdc claimed this task.

The config module without this problem is available in the crux, should be released in the 1.2.7 version.