summaryrefslogtreecommitdiff
path: root/pkg/machine/fcos.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-09-22 18:44:47 -0400
committerGitHub <noreply@github.com>2021-09-22 18:44:47 -0400
commitf342784ce58fef0e79c61181e355f320d6f903da (patch)
tree340e835f8b8ea8e3c580ca7eeaf0b5bbc01a86b6 /pkg/machine/fcos.go
parentf2eb5bbbaee0f8dae0ee980280d1cdb526a81330 (diff)
parentf5f95d722fac04bbc2c5082ea430c9eb1f0eeade (diff)
downloadpodman-f342784ce58fef0e79c61181e355f320d6f903da.tar.gz
podman-f342784ce58fef0e79c61181e355f320d6f903da.tar.bz2
podman-f342784ce58fef0e79c61181e355f320d6f903da.zip
Merge pull request #11701 from ashley-cui/stream
Fix machine image
Diffstat (limited to 'pkg/machine/fcos.go')
-rw-r--r--pkg/machine/fcos.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/machine/fcos.go b/pkg/machine/fcos.go
index cfcadeb02..99197ac0e 100644
--- a/pkg/machine/fcos.go
+++ b/pkg/machine/fcos.go
@@ -139,6 +139,8 @@ func getFCOSDownload(imageStream string) (*fcosDownloadInfo, error) {
)
switch imageStream {
case "testing", "":
+ streamType = fedoracoreos.StreamTesting
+ case "next":
streamType = fedoracoreos.StreamNext
case "stable":
streamType = fedoracoreos.StreamStable