Add the option to HTTP import a Fedora image.
@@ -127,6 +127,7 @@ const (
AlpineHttpUrl = iota
DummyFileHttpUrl
CirrosHttpUrl
+ FedoraHttpUrl
VirtWhatCpuidHelperHttpUrl
)
@@ -4763,6 +4764,8 @@ func GetUrl(urlIndex int) string {
str = fmt.Sprintf("http://cdi-http-import-server.%s/dummy.file", flags.KubeVirtInstallNamespace)
case CirrosHttpUrl:
str = fmt.Sprintf("http://cdi-http-import-server.%s/images/cirros.img", flags.KubeVirtInstallNamespace)
+ case FedoraHttpUrl:
+ str = fmt.Sprintf("http://cdi-http-import-server.%s/images/fedora.img", flags.KubeVirtInstallNamespace)
case VirtWhatCpuidHelperHttpUrl:
str = fmt.Sprintf("http://cdi-http-import-server.%s/virt-what-cpuid-helper", flags.KubeVirtInstallNamespace)
default:
