install-dependencies: dnf install -y wget qemu-img download-rocky-8-base-image: wget https://download.rockylinux.org/pub/rocky/8/images/x86_64/Rocky-8-GenericCloud-Base.latest.x86_64.qcow2 -O /tmp/Rocky-8-GenericCloud-Base.latest.x86_64.qcow2 ln -s /tmp/Rocky-8-GenericCloud-Base.latest.x86_64.qcow2 /tmp/rocky.qcow2 download-rocky-8-lvm-image: wget https://download.rockylinux.org/pub/rocky/8/images/x86_64/Rocky-8-EC2-LVM.latest.x86_64.qcow2 -O /tmp/Rocky-8-EC2-LVM.latest.x86_64.qcow2 ln -s /tmp/Rocky-8-EC2-LVM.latest.x86_64.qcow2 /tmp/rocky.qcow2 download-rocky-9-base-image: wget https://download.rockylinux.org/pub/rocky/9/images/x86_64/Rocky-9-GenericCloud-Base.latest.x86_64.qcow2 -O /tmp/Rocky-9-GenericCloud-Base.latest.x86_64.qcow2 ln -s /tmp/Rocky-9-GenericCloud-Base.latest.x86_64.qcow2 /tmp/rocky.qcow2 download-rocky-9-lvm-image: wget https://download.rockylinux.org/pub/rocky/9/images/x86_64/Rocky-9-GenericCloud-LVM.latest.x86_64.qcow2 -O /tmp/Rocky-9-GenericCloud-LVM.latest.x86_64.qcow2 ln -s /tmp/Rocky-9-GenericCloud-LVM.latest.x86_64.qcow2 /tmp/rocky.qcow2 write-image-to-sda: qemu-img convert -p -f qcow2 -O raw /tmp/rocky.qcow2 /dev/sda fix-gpt: /bin/sh fix-gpt-free-space.sh reboot: reboot