enabled hyperv image downloads

now that we have public hypverv fcos artifacts, we can download them
instead of requiring a special build.

Signed-off-by: Brent Baude <bbaude@redhat.com>

[NO NEW TESTS NEEDED]
This commit is contained in:
Brent Baude
2023-08-07 13:46:04 -05:00
parent 3e8f19be9d
commit 9e14e3ebe5
21 changed files with 745 additions and 301 deletions

View File

@@ -5,12 +5,14 @@ import "os"
// getDefaultImage returns the default machine image stream
// On Windows this refers to the Fedora major release number
func getDefaultMachineImage() string {
return "35"
return "testing"
}
// getDefaultMachineUser returns the user to use for rootless podman
// This is only for the hyperv and qemu implementations. WSL's user
// will be hardcoded in podman to "user"
func getDefaultMachineUser() string {
return "user"
return "core"
}
// isCgroup2UnifiedMode returns whether we are running in cgroup2 mode.