-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Read the first ten lines of a config to check for headers (#51)
There could be comments before the cloud-config header or jinja expressions as we found already[0] so our current header check its a bit strict. This patch makes it so er read the first ten lines of the config source, check for # at the start and then check for the headers as we did before, so we are a bit more letinent in case the cloud-config header is not the first thing in the file Signed-off-by: Itxaka <itxaka@kairos.io>
- Loading branch information
Showing
2 changed files
with
73 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters