Skip to content

About

Alpine Linux cloud image (qcow2) for OpenStack and Proxmox (BIOS and UEFI): cloud-init ready, signed with Sigstore cosign, boot-tested on every release.

Topics

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

27 Commits

Folders and files

Repository files navigation

Alpine Linux cloud image for OpenStack and Proxmox

Latest version (BIOS) Latest version (UEFI) Release Signed with Sigstore cosign Boot-tested on OpenStack License GPL-2.0

Catalog page · Download · Verify · Documentation · Report an issue

Alpine Linux cloud image (qcow2) for OpenStack and Proxmox: the official Alpine generic cloud-init image, verified, made ready for both clouds with the same rules as every openimages.cloud image, signed with Sigstore cosign and boot-tested on a real OpenStack before it is published. Two firmware variants are built from each release.

At a glance

Upstream Alpine Linux generic_alpine-<version>-x86_64-<firmware>-cloudinit-r0.qcow2 from dl-cdn.alpinelinux.org, checked against its .sha512
Default user alpine, SSH key only, passwordless sudo
Variants bios: legacy boot, works on any hypervisor. uefi: needs hw_firmware_type=uefi on OpenStack, OVMF on Proxmox
Format qcow2, x86_64, root filesystem grown to the disk at first boot
Version the Alpine point release, X.Y.Z, e.g. 3.24.1; one manifest per variant, MANIFEST-bios.json and MANIFEST-uefi.json (all versions)
Support follows the Alpine latest-stable branch: each new point release becomes a new image

Quick start

# Pick the variant: bios or uefi
VARIANT=bios
# Latest version and its file name, from the signed manifest of that variant
M=https://images.openimages.cloud/alpine-linux/latest/MANIFEST-$VARIANT.json
V=$(curl -fsS $M | jq -r .version); F=$(curl -fsS $M | jq -r .filename)
curl -fLO https://images.openimages.cloud/alpine-linux/$V/$F
OpenStack

BIOS variant:

openstack image create --disk-format qcow2 --container-format bare \
  --property os_distro=alpinelinux --property os_version="${V%.*}" \
  --property hw_qemu_guest_agent=yes --property os_admin_user=alpine \
  --file "$F" "Alpine Linux $V (BIOS)"

UEFI variant: same command, plus the firmware property:

openstack image create --disk-format qcow2 --container-format bare \
  --property os_distro=alpinelinux --property os_version="${V%.*}" \
  --property hw_qemu_guest_agent=yes --property os_admin_user=alpine \
  --property hw_firmware_type=uefi \
  --file "$F" "Alpine Linux $V (UEFI)"

The full property set (SCSI disk, multiqueue, quiesced snapshots) is on the catalog page and in index.json. To keep images up to date automatically, use oic-sync.

Proxmox VE

The commands to create a cloud-init template from this image are on the catalog page. For the uefi variant, the VM needs OVMF firmware (--bios ovmf and an EFI disk).

Verify the signature
curl -fLO https://images.openimages.cloud/alpine-linux/$V/$F.bundle
cosign verify-blob "$F" --bundle "$F.bundle" \
  --certificate-identity-regexp '^https://github.com/open-img-cloud/\.github/\.github/workflows/build-(libguestfs|dib|nix-flake|freebsd)-image\.yml@' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

What this image changes

On top of the official image, and nothing else:

  • installs and enables qemu-guest-agent (filesystem freeze for snapshots, IP reporting);
  • sets dhcpcd to slaac hwaddr instead of slaac private: Neutron only accepts the MAC-derived link-local address and finds the port from it, so with the default the instance never gets the IPv6 address of its port;
  • adds an SSH drop-in that turns off password and keyboard-interactive authentication;
  • enables a login on the serial console (ttyS0);
  • adds the openimages.cloud cloud-init policy: config drive read first, then the metadata service; no root login, no SSH password;
  • cleans package caches and machine identity so every instance starts fresh.

Packages are not upgraded at build time: the upstream root filesystem is sized too tightly for a new kernel. Security fixes arrive with each Alpine point release; run apk upgrade after deployment if you need them sooner.

Every release must pass the same runtime contract on OpenStack: SSH with the injected key, cloud-init finished, DNS, hostname, root filesystem grown, passwordless sudo, IPv6 address and egress.

How releases happen

  1. Every day at 06:23 UTC a watcher looks for a new upstream image and opens a pull request that bumps VERSION.
  2. Merging it is all it takes: the release is tagged, both variants are built, signed, boot-tested and published, then latest/ and the catalog move to it.

This repository only holds what is specific to Alpine Linux: VERSION, build/customize.sh, build/config/, build/detect-upstream.sh and thin workflows calling the shared pipeline in open-img-cloud/.github.

License

The build tooling in this repository is under GPL-2.0. The image keeps the licensing terms of Alpine Linux (each package under its own license). Alpine Linux is a trademark of its owner; this project is not affiliated with Alpine Linux.

About

Alpine Linux cloud image (qcow2) for OpenStack and Proxmox (BIOS and UEFI): cloud-init ready, signed with Sigstore cosign, boot-tested on every release.

Topics

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages