add default image
parent
b6dbf3bd0d
commit
c627f58fbb
|
@ -315,6 +315,7 @@ func runStart(cmd *cobra.Command, args []string) {
|
|||
exit.WithError("Failed to generate config", err)
|
||||
}
|
||||
|
||||
fmt.Println("Got here")
|
||||
if !driver.BareMetal(driverName) {
|
||||
if err := cluster.CacheISO(config); err != nil {
|
||||
exit.WithError("Failed to cache ISO", err)
|
||||
|
|
|
@ -277,6 +277,6 @@ func ImageForVersion(ver string) (string, error) {
|
|||
case "v1.16.2":
|
||||
return "medyagh/kic:v1.16.2@sha256:3374a30971bf5b0011441a227fa56ef990b76125b36ca0ab8316a3c7e4f137a3", nil
|
||||
default:
|
||||
return "v1.15.0", fmt.Errorf("not supported version, using default version")
|
||||
return "medyagh/kic:v1.16.2@sha256:3374a30971bf5b0011441a227fa56ef990b76125b36ca0ab8316a3c7e4f137a3", fmt.Errorf("not supported version, using default version")
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue