1
This commit is contained in:
commit
7598909a50
20
Makefile
Normal file
20
Makefile
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
install-dependencies:
|
||||||
|
dnf install -y wget qemu-img
|
||||||
|
|
||||||
|
download-alam-9-bios-image:
|
||||||
|
wget https://repo.almalinux.org/almalinux/9/cloud/x86_64/images/AlmaLinux-9-GenericCloud-latest.x86_64.qcow2 -O /tmp/AlmaLinux-9-GenericCloud-latest.x86_64.qcow2
|
||||||
|
ln -s /tmp/AlmaLinux-9-GenericCloud-latest.x86_64.qcow2 /tmp/almalinux.qcow2
|
||||||
|
|
||||||
|
download-alam-8-uefi-image:
|
||||||
|
wget https://repo.almalinux.org/almalinux/8/cloud/x86_64/images/AlmaLinux-8-GenericCloud-UEFI-latest.x86_64.qcow2 -O /tmp/AlmaLinux-8-GenericCloud-UEFI-latest.x86_64.qcow2
|
||||||
|
ln -s /tmp/AlmaLinux-8-GenericCloud-UEFI-latest.x86_64.qcow2 /tmp/almalinux.qcow2
|
||||||
|
|
||||||
|
download-alam-8-bios-image:
|
||||||
|
wget https://repo.almalinux.org/almalinux/8/cloud/x86_64/images/AlmaLinux-8-GenericCloud-latest.x86_64.qcow2 -O /tmp/AlmaLinux-8-GenericCloud-latest.x86_64.qcow2
|
||||||
|
ln -s /tmp/AlmaLinux-8-GenericCloud-latest.x86_64.qcow2 /tmp/almalinux.qcow2
|
||||||
|
|
||||||
|
write-image-to-sda:
|
||||||
|
qemu-img convert -p -f qcow2 -O raw /tmp/almalinux.qcow2 /dev/sda
|
||||||
|
|
||||||
|
fix-gpt:
|
||||||
|
/bin/sh fix-gpt-free-space.sh
|
3
fix-gpt-free-space.sh
Normal file
3
fix-gpt-free-space.sh
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
|
printf "fix\n" | parted ---pretend-input-tty /dev/sda print
|
Loading…
Reference in New Issue
Block a user