summaryrefslogtreecommitdiff
path: root/pkg/machine/qemu/machine.go
diff options
context:
space:
mode:
authorAshley Cui <acui@redhat.com>2021-09-22 14:38:24 -0400
committerAshley Cui <acui@redhat.com>2021-09-22 14:38:24 -0400
commitf5f95d722fac04bbc2c5082ea430c9eb1f0eeade (patch)
tree00243f1534c8eb41df0d6f7551ca0c556529301c /pkg/machine/qemu/machine.go
parentcd7b48198c38c5028540e85dc72dd3406f4318f0 (diff)
downloadpodman-f5f95d722fac04bbc2c5082ea430c9eb1f0eeade.tar.gz
podman-f5f95d722fac04bbc2c5082ea430c9eb1f0eeade.tar.bz2
podman-f5f95d722fac04bbc2c5082ea430c9eb1f0eeade.zip
Fix machine image
Make sure setting machine image to `testing` pulls down the testing stream, and not the next stream Signed-off-by: Ashley Cui <acui@redhat.com>
Diffstat (limited to 'pkg/machine/qemu/machine.go')
-rw-r--r--pkg/machine/qemu/machine.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/machine/qemu/machine.go b/pkg/machine/qemu/machine.go
index d5f538594..b9b66c123 100644
--- a/pkg/machine/qemu/machine.go
+++ b/pkg/machine/qemu/machine.go
@@ -140,7 +140,7 @@ func (v *MachineVM) Init(opts machine.InitOptions) error {
v.IdentityPath = filepath.Join(sshDir, v.Name)
switch opts.ImagePath {
- case "testing", "stable", "":
+ case "testing", "next", "stable", "":
// Get image as usual
dd, err := machine.NewFcosDownloader(vmtype, v.Name, opts.ImagePath)
if err != nil {