-
Notifications
You must be signed in to change notification settings - Fork 881
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: validate netplan API YAML instead of strict content (#5195)
Netplan API is used on Mantic and later which prevents cloud-init from writing a header comment in /etc/netplan/50-cloud-init.yaml. Only compare the loaded YAML dict of networking config instead of the full content of the file before and after upgrade to assert the equality of network config.
- Loading branch information
1 parent
31039d0
commit 7268003
Showing
2 changed files
with
16 additions
and
2 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