* build / convert: add `--platform` flag to support linux/amd64 &
linux/arm64
* build: add `--pull` flag
* run/hetzner: add `--type` flag to select server type
* run/hetzner: add `--location` flag to select server location
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
refactor: move qemu to its own package
tests: implements end to end tests for the convert command with the following images: alpine:3.17, ubuntu:20.04, debian:11, centos:8
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
set user permissions on image if run with sudo or in docker
run/vbox & run/hetzner: run qemu-img in docker if not available in path
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
refactor: use Option func pattern
fix: build respect the --force flag
fix: compute correct in-docker input and outpout mount paths
Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>