summaryrefslogtreecommitdiff
path: root/pkg/machine/pull.go
diff options
context:
space:
mode:
authorAnders F Björklund <anders.f.bjorklund@gmail.com>2021-03-28 10:27:57 +0200
committerAnders F Björklund <anders.f.bjorklund@gmail.com>2021-03-29 21:53:48 +0200
commit870beaf137d6afb674bbd1743eaa8a761dd54511 (patch)
tree31f183120400a987bd8488d94408889e5b105c0f /pkg/machine/pull.go
parentaa96cb6739303a4bf76aeb6395e8ef79ff8ef0ee (diff)
downloadpodman-870beaf137d6afb674bbd1743eaa8a761dd54511.tar.gz
podman-870beaf137d6afb674bbd1743eaa8a761dd54511.tar.bz2
podman-870beaf137d6afb674bbd1743eaa8a761dd54511.zip
Add machine support for qemu-system-aarch64
- Build machine also for podman-linux-arm64 - Add default machine type for linux arm64 - Add the required qemu-uefi bios parameter - Remove hardcoded outdated path and show url Signed-off-by: Anders F Björklund <anders.f.bjorklund@gmail.com>
Diffstat (limited to 'pkg/machine/pull.go')
-rw-r--r--pkg/machine/pull.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/machine/pull.go b/pkg/machine/pull.go
index 39dde15b8..3f54f76ff 100644
--- a/pkg/machine/pull.go
+++ b/pkg/machine/pull.go
@@ -38,7 +38,7 @@ func DownloadVMImage(downloadURL fmt.Stringer, localImagePath string) error {
}()
if resp.StatusCode != http.StatusOK {
- return fmt.Errorf("error downloading VM image: %s", resp.Status)
+ return fmt.Errorf("error downloading VM image %s: %s", downloadURL, resp.Status)
}
size := resp.ContentLength
urlSplit := strings.Split(downloadURL.String(), "/")