summaryrefslogtreecommitdiff
path: root/pkg/machine/fcos.go
diff options
context:
space:
mode:
authorAshley Cui <acui@redhat.com>2021-08-12 10:31:17 -0400
committerAshley Cui <acui@redhat.com>2021-08-24 14:18:55 -0400
commit3f22e529644aad8e4b763564c9ef98a3cbdae4fc (patch)
tree0cd4b9b69d955bb5e726417f0c31879784290a5b /pkg/machine/fcos.go
parent23f9565547ae2a6b0154e6913abf7f1232f0ece0 (diff)
downloadpodman-3f22e529644aad8e4b763564c9ef98a3cbdae4fc.tar.gz
podman-3f22e529644aad8e4b763564c9ef98a3cbdae4fc.tar.bz2
podman-3f22e529644aad8e4b763564c9ef98a3cbdae4fc.zip
Allow setting of machine stream and image path from containers.conf
Default is "testing" Signed-off-by: Ashley Cui <acui@redhat.com>
Diffstat (limited to 'pkg/machine/fcos.go')
-rw-r--r--pkg/machine/fcos.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/machine/fcos.go b/pkg/machine/fcos.go
index 49ec01e67..85cedcd5a 100644
--- a/pkg/machine/fcos.go
+++ b/pkg/machine/fcos.go
@@ -24,8 +24,8 @@ type FcosDownload struct {
Download
}
-func NewFcosDownloader(vmType, vmName string) (DistributionDownload, error) {
- info, err := getFCOSDownload()
+func NewFcosDownloader(vmType, vmName, imageStream string) (DistributionDownload, error) {
+ info, err := getFCOSDownload(imageStream)
if err != nil {
return nil, err
}