File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ # This script will create a txt file with RKE extended life images.
3+ set -e -x
4+
5+ IMAGES_LIST_FILE=" ./build/bin/rke-extended-life-images.txt"
6+
7+ # Ensure the build directory exists
8+ mkdir -p ./build/bin
9+
10+ echo " Creating ${IMAGES_LIST_FILE} "
11+
12+ # The command to generate a unique list of sorted images after removing noiro/aci images.
13+ ./bin/rke config --system-images --all | grep -Eo ' ^[^ ]+/.+' | grep -v ' ^noiro/' | sort | uniq > " $IMAGES_LIST_FILE "
14+
15+ echo " Done creating ${IMAGES_LIST_FILE} "
16+
17+ # Display the content of the generated file
18+ cat " $IMAGES_LIST_FILE "
Original file line number Diff line number Diff line change @@ -10,3 +10,4 @@ SUFFIX=""
1010[ " ${ARCH} " != " amd64" ] && SUFFIX=" _${ARCH} "
1111
1212./scripts/create-releasenote.sh
13+ ./scripts/create-imageslist.sh
You can’t perform that action at this time.
0 commit comments