rpmostree: Don't hardcode required osname/stateroot
I changed this recently in the RHCOS pipeline, and I think we
want to support people running `kola` against e.g. custom FCOS
builds.
Changing the name really shouldn't break anything.
@@ -35,8 +35,6 @@ func init() {
}
var (
- supportedOsNames = []string{"rhcos", "coreos"}
-
// Regex to extract version number from "rpm-ostree status"
rpmOstreeVersionRegex string = `^Version: (\d+\.\d+\.?\d*).*`
)
@@ -85,17 +83,6 @@ func rpmOstreeStatus(c cluster.TestCluster) {
c.Fatalf("Expected one deployment; found %d deployments", len(status.Deployments))
}
- supported := false
- for _, name := range supportedOsNames {
- if status.Deployments[0].Osname == name {
- supported = true
- break
- }
- }
- if !supported {
- c.Fatalf(`"osname" has incorrect value: wanted one of %v, got %q`, supportedOsNames, status.Deployments[0].Osname)
- }
-
// deployment should be booted (duh!)
if !status.Deployments[0].Booted {
c.Fatalf(`Deployment does not report as being booted`)
