Skip to content

Commit 5b24b89

Browse files
committed
Add Fedora 36 cloud image
1 parent b7302d2 commit 5b24b89

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

root-disks/Makefile

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ IMAGES += ubuntu16.04-cloudimg-ppc64el.qcow2
55
IMAGES += ubuntu21.04-cloudimg-ppc64el.qcow2
66
IMAGES += ubuntu21.10-cloudimg-ppc64el.qcow2
77
IMAGES += fedora34-cloudimg-ppc64le.qcow2
8+
IMAGES += fedora36-cloudimg-ppc64le.qcow2
89

910
build: prepare cloud-init-user-data.img
1011

@@ -58,8 +59,17 @@ ubuntu21.10-cloudimg-ppc64el.qcow2:
5859
chmod a-w $@
5960
sha256sum $@ > $@.sum
6061

62+
define wget_fedora
63+
$(call wget,$(1),"https://download.fedoraproject.org/pub/fedora-secondary/releases/$(2)/Cloud/ppc64le/images/$(3)")
64+
endef
65+
6166
fedora34-cloudimg-ppc64le.qcow2:
62-
$(call wget,$@,"https://download.fedoraproject.org/pub/fedora-secondary/releases/34/Cloud/ppc64le/images/Fedora-Cloud-Base-34-1.2.ppc64le.qcow2")
67+
$(call wget_fedora,$@,34,Fedora-Cloud-Base-34-1.2.ppc64le.qcow2)
68+
chmod a-w $@
69+
sha256sum $@ > $@.sum
70+
71+
fedora36-cloudimg-ppc64le.qcow2:
72+
$(call wget_fedora,$@,36,Fedora-Cloud-Base-36-1.5.ppc64le.qcow2)
6373
chmod a-w $@
6474
sha256sum $@ > $@.sum
6575

0 commit comments

Comments
 (0)