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

[rhcos-4.12] mantle: fix offline detection in testiso tests #3559

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion mantle/cmd/kola/testiso.go
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,10 @@ func runTestIso(cmd *cobra.Command, args []string) error {
} else if kola.HasString("uefi", components) {
enableUefi = true
}
if kola.HasString("offline", components) {
// For offline it is a part of the first component. i.e. for
// iso-offline-install.bios we need to search for 'offline' in
// iso-offline-install, which is currently in components[0].
if kola.HasString("offline", strings.Split(components[0], "-")) {
isOffline = true
}

Expand Down
Loading