18 lines
629 B
Makefile
18 lines
629 B
Makefile
install-dependencies:
|
|
dnf install -y wget qemu-img
|
|
|
|
download-10-image:
|
|
wget https://cloud.debian.org/images/cloud/buster/latest/debian-10-generic-amd64.qcow2 -O /tmp/debian-cloudimg-amd64.qcow2
|
|
|
|
download-11-image:
|
|
wget https://cloud.debian.org/images/cloud/bullseye/latest/debian-11-generic-amd64.qcow2 -O /tmp/debian-cloudimg-amd64.qcow2
|
|
|
|
download-12-image:
|
|
wget https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-generic-amd64.qcow2 -O /tmp/debian-cloudimg-amd64.qcow2
|
|
|
|
write-image-to-sda:
|
|
qemu-img convert -p -f qcow2 -O raw /tmp/debian-cloudimg-amd64.qcow2 /dev/sda
|
|
|
|
fix-gpt:
|
|
/bin/sh fix-gpt-free-space.sh
|