Skip to content

Commit

Permalink
Add script to download fedora 39 live ISO
Browse files Browse the repository at this point in the history
Rawhide exists already.

Tests are for the time manual for this.
  • Loading branch information
KKoukiou committed Sep 11, 2023
1 parent b366611 commit 267ff60
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions image-trigger
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ REFRESH = {
"fedora-38": {},
"fedora-39": {},
"fedora-39-boot": {},
"fedora-39-live-boot": {"refresh-days": 30},
"fedora-testing": {"refresh-days": 3},
"fedora-coreos": {},
"fedora-rawhide": {},
Expand Down
10 changes: 10 additions & 0 deletions images/scripts/fedora-39-live-boot.bootstrap
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/sh
set -eux

OUTPUT="$1"

ISO_FOLDER='https://download.fedoraproject.org/pub/fedora/linux/development/39/Workstation/x86_64/iso'
ISO=$(curl -L --silent https://download.fedoraproject.org/pub/fedora/linux/development/39/Workstation/x86_64/iso/ | grep -oP 'href="\K[^"]+' | grep -E '\.iso' | head -n1 | tr -d '\n')
URL="$ISO_FOLDER/$ISO"

curl -L "$URL" -o "$OUTPUT"

0 comments on commit 267ff60

Please sign in to comment.