Commit 0a767a3c authored by Sven-Hendrik Haase's avatar Sven-Hendrik Haase
Browse files

Merge branch 'growpart' into 'master'

cloud-image: Add cloud-guest-utils so cloud-init can expand the root partition

See merge request !144
parents e1a885c7 3151f0ae
Pipeline #2830 passed with stages
in 30 minutes and 36 seconds
......@@ -168,7 +168,10 @@ function create_image() {
function cloud_image() {
arch-chroot "${MOUNT}" /bin/bash < <(cat "${ORIG_PWD}"/http/install-{cloud,common}.sh)
arch-chroot "${MOUNT}" /usr/bin/pacman -S --noconfirm qemu-guest-agent cloud-init
# The growpart module[1] requires the growpart program, provided by the
# cloud-guest-utils package
# [1] https://cloudinit.readthedocs.io/en/latest/topics/modules.html#growpart
arch-chroot "${MOUNT}" /usr/bin/pacman -S --noconfirm qemu-guest-agent cloud-init cloud-guest-utils
arch-chroot "${MOUNT}" /usr/bin/systemctl enable cloud-init-local.service cloud-init.service cloud-config.service cloud-final.service
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment