package
0.0.0-20240905033552-c50090bf3da5
Repository: https://github.com/tinkerbell/actions.git
Documentation: pkg.go.dev
# README
quay.io/tinkerbell/actions/qemuimg2disk:latest
This action will stream a remote disk image to a block device, and is mainly used to write cloud images to a disk.
Under the hood this action uses qemu-img which in turn is built atop libcurl. This has two nice benefits:
- Full SSL support allows images to be streamed from anywhere on the internet
- Support for the QCOW2 image format which is used by some OS vendors as a standard format
This action could be used as part of a workflow to stream the latest Ubuntu image
directly from Canonical onto block storage disk /dev/sda
like so:
actions:
- name: "stream ubuntu"
image: quay.io/tinkerbell/actions/qemuimg2disk:latest
timeout: 300
environment:
IMG_URL: https://cloud-images.ubuntu.com/daily/server/focal/current/focal-server-cloudimg-amd64.img
DEST_DISK: /dev/sda