File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change 35
35
FIRMWARE=" uefi"
36
36
fi
37
37
38
- case " $TEST_OS " in
39
- " centos-stream-9" )
38
+ # Get OS data.
39
+ source /etc/os-release
40
+
41
+ case " " ${ID} -${VERSION_ID} " " in
42
+ " centos-9" )
43
+ TEST_OS=" centos-stream-9"
40
44
TIER1_IMAGE_URL=" quay.io/centos-bootc/centos-bootc-dev:stream9"
41
45
SSH_USER=" cloud-user"
42
46
REDHAT_VERSION_ID=" 9"
43
47
BOOT_ARGS=" uefi,firmware.feature0.name=secure-boot,firmware.feature0.enabled=no"
44
48
;;
45
- " fedora" * )
46
- if [[ " $TEST_OS " == " fedora-40" ]]; then
47
- TIER1_IMAGE_URL=" quay.io/fedora/fedora-bootc:40"
48
- REDHAT_VERSION_ID=" 40"
49
- else
50
- TIER1_IMAGE_URL=" quay.io/fedora/fedora-bootc:41"
51
- REDHAT_VERSION_ID=" 41"
52
- fi
49
+ " fedora-" * )
50
+ TEST_OS=" fedora-${VERSION_ID} "
51
+ TIER1_IMAGE_URL=" quay.io/fedora/fedora-bootc:${VERSION_ID} "
52
+ REDHAT_VERSION_ID=" ${VERSION_ID} "
53
53
SSH_USER=" fedora"
54
54
BOOT_ARGS=" uefi"
55
55
;;
You can’t perform that action at this time.
0 commit comments