kola: Change distro default to fcos, drop cl
Now that CL is branched, let's improve ergonomics here and
default to `fcos` for distro.  This has bit me a few times already
where I ran `kola` directly and forgot the `-b` argument.
@@ -31,7 +31,7 @@ var (
defaultTargetBoard = sdk.DefaultBoard()
kolaArchitectures = []string{"amd64"}
kolaPlatforms = []string{"aws", "azure", "do", "esx", "gce", "openstack", "packet", "qemu", "qemu-unpriv"}
- kolaDistros = []string{"cl", "fcos", "rhcos"}
+ kolaDistros = []string{"fcos", "rhcos"}
kolaDefaultImages = map[string]string{
"amd64-usr": sdk.BuildRoot() + "/images/amd64-usr/latest/coreos_production_image.bin",
"arm64-usr": sdk.BuildRoot() + "/images/arm64-usr/latest/coreos_production_image.bin",
@@ -58,7 +58,7 @@ func init() {
sv(&outputDir, "output-dir", "", "Temporary output directory for test data and logs")
sv(&kola.TorcxManifestFile, "torcx-manifest", "", "Path to a torcx manifest that should be made available to tests")
root.PersistentFlags().StringVarP(&kolaPlatform, "platform", "p", "qemu", "VM platform: "+strings.Join(kolaPlatforms, ", "))
- root.PersistentFlags().StringVarP(&kola.Options.Distribution, "distro", "b", "cl", "Distribution: "+strings.Join(kolaDistros, ", "))
+ root.PersistentFlags().StringVarP(&kola.Options.Distribution, "distro", "b", kolaDistros[0], "Distribution: "+strings.Join(kolaDistros, ", "))
root.PersistentFlags().IntVarP(&kola.TestParallelism, "parallel", "j", 1, "number of tests to run in parallel")
sv(&kola.TAPFile, "tapfile", "", "file to write TAP results to")
sv(&kola.Options.BaseName, "basename", "kola", "Cluster name prefix")
