25 lines
728 B
Makefile
25 lines
728 B
Makefile
all:
|
|
echo OK
|
|
|
|
install-dependencies-rhel:
|
|
dnf install -y wget qemu-img
|
|
|
|
install-dependencies-kali:
|
|
apt update
|
|
apt install -y qemu-utils wget parted
|
|
|
|
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
|