From 89a23662d245cb6441fdb2a3247d86918aef44df Mon Sep 17 00:00:00 2001 From: Eliezer Croitoru Date: Sun, 26 Nov 2023 19:03:45 +0000 Subject: [PATCH] 5 --- alma-disk-from-qcow/Makefile | 9 ++++++++- debian-disk-from-qcow/Makefile | 5 ++++- rocky-disk-from-qcow/Makefile | 10 +++++++++- ubuntu-disk-from-qcow/Makefile | 5 ++++- 4 files changed, 25 insertions(+), 4 deletions(-) diff --git a/alma-disk-from-qcow/Makefile b/alma-disk-from-qcow/Makefile index 9b56deb..74727f0 100644 --- a/alma-disk-from-qcow/Makefile +++ b/alma-disk-from-qcow/Makefile @@ -1,6 +1,13 @@ -install-dependencies: +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-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 diff --git a/debian-disk-from-qcow/Makefile b/debian-disk-from-qcow/Makefile index affc3af..1f25c11 100644 --- a/debian-disk-from-qcow/Makefile +++ b/debian-disk-from-qcow/Makefile @@ -1,4 +1,7 @@ -stall-dependencies-rhel: +all: + echo OK + +install-dependencies-rhel: dnf install -y wget qemu-img install-dependencies-kali: diff --git a/rocky-disk-from-qcow/Makefile b/rocky-disk-from-qcow/Makefile index 7aabf96..336cd03 100644 --- a/rocky-disk-from-qcow/Makefile +++ b/rocky-disk-from-qcow/Makefile @@ -1,6 +1,13 @@ -install-dependencies: +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-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 @@ -22,5 +29,6 @@ write-image-to-sda: fix-gpt: /bin/sh fix-gpt-free-space.sh + reboot: reboot diff --git a/ubuntu-disk-from-qcow/Makefile b/ubuntu-disk-from-qcow/Makefile index 1866f34..6087e7b 100644 --- a/ubuntu-disk-from-qcow/Makefile +++ b/ubuntu-disk-from-qcow/Makefile @@ -1,4 +1,7 @@ -stall-dependencies-rhel: +all: + echo OK + +install-dependencies-rhel: dnf install -y wget qemu-img install-dependencies-kali: