From 97c0937c91447508ddf18fe104d9af1d65afba06 Mon Sep 17 00:00:00 2001 From: Peter Corbett Date: Tue, 14 Dec 2021 15:43:48 -0600 Subject: [PATCH] Add RockyLinux cloud image --- rockylinux/8/.gitkeep | 0 rockylinux/build | 8 ++++++++ 2 files changed, 8 insertions(+) create mode 100644 rockylinux/8/.gitkeep create mode 100755 rockylinux/build diff --git a/rockylinux/8/.gitkeep b/rockylinux/8/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/rockylinux/build b/rockylinux/build new file mode 100755 index 0000000..8357057 --- /dev/null +++ b/rockylinux/build @@ -0,0 +1,8 @@ +#!/bin/sh + +case "$1" in + 8) url='https://download.rockylinux.org/pub/rocky/8.4/images/Rocky-8-GenericCloud-8.4-20210620.0.x86_64.qcow2' ;; + *) echo "not found" && exit 1 ;; +esac + +wget "$url" -O "$1/root.img.qcow2" -- 2.45.2