12 lines
338 B
Makefile
12 lines
338 B
Makefile
|
install-dependencies:
|
||
|
dnf install -y wget qemu-img
|
||
|
|
||
|
download-image:
|
||
|
wget https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img -O /tmp/jammy-server-cloudimg-amd64.img
|
||
|
|
||
|
write-image-to-sda:
|
||
|
qemu-img convert -p -f qcow2 -O raw /tmp/jammy-server-cloudimg-amd64.img /dev/sda
|
||
|
|
||
|
fix-gpt:
|
||
|
/bin/sh fix-gpt-free-space.sh
|