Skip to content

Commit fbb9311

Browse files
Merge pull request #143 from AmedeeBulle/ol94-810
OLSS: Update for OL 9.4 and 8.10 releases
2 parents 2f603b4 + 98018dc commit fbb9311

File tree

10 files changed

+12
-7
lines changed

10 files changed

+12
-7
lines changed

oracle-linux-image-tools/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ They currently support:
1111

1212
- Distributions:
1313
- Oracle Linux 7 update 9 -- Slim (x86_64 only)
14-
- Oracle Linux 8 update 9 -- Slim (x86_64 and aarch64)
15-
- Oracle Linux 9 update 3 -- Slim (x86_64 and aarch64)
14+
- Oracle Linux 8 update 10 -- Slim (x86_64 and aarch64)
15+
- Oracle Linux 9 update 4 -- Slim (x86_64 and aarch64)
1616
- Clouds:
1717
- Microsoft Azure cloud (x86_64)
1818
Target packages: WALinuxAgent
@@ -110,7 +110,7 @@ In that case, you will have to provide an URL to an installation tree and option
110110
Example for an Oracle Linux 9 using the UEK boot ISO:
111111

112112
```Shell
113-
ISO_URL="https://yum.oracle.com/ISOS/OracleLinux/OL9/u3/x86_64/OracleLinux-R9-U3-x86_64-boot-uek.iso"
113+
ISO_URL="https://yum.oracle.com/ISOS/OracleLinux/OL9/u4/x86_64/OracleLinux-R9-U4-x86_64-boot-uek.iso"
114114
REPO_URL="https://yum.oracle.com/repo/OracleLinux/OL9/baseos/latest/x86_64"
115115
REPO[AppStream]="https://yum.oracle.com/repo/OracleLinux/OL9/appstream/x86_64"
116116
REPO[ol9_UEKR7]="https://yum.oracle.com/repo/OracleLinux/OL9/UEKR7/x86_64"

oracle-linux-image-tools/bin/build-image.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -486,6 +486,7 @@ image_cleanup() {
486486

487487
virt-sysprep --delete "${BUILD_INFO}" \
488488
--truncate /etc/machine-id \
489+
--truncate /etc/resolv.conf \
489490
-a "${WORKSPACE}/${VM_NAME}/${VM_NAME}.qcow2" \
490491
"${virt_sysprep_args[@]}"
491492

oracle-linux-image-tools/distr/ol8-aarch64/env.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# env file.
44

55
# Distribution name
6-
DISTR_NAME="OL8U9_aarch64"
6+
DISTR_NAME="OL8U10_aarch64"
77

88
# Distribution release
99
readonly ORACLE_RELEASE=8

oracle-linux-image-tools/distr/ol8-aarch64/provision.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ distr::kernel_config() {
6565
if [[ ${UEK_RELEASE} != 6 ]]; then
6666
if [[ ${KERNEL_MODULES,,} == "no" ]]; then
6767
common::echo_message "Removing kernel modules"
68+
dnf mark install kernel-uek-core
6869
distr::remove_rpms kernel-uek-modules
6970
else
7071
common::echo_message "Ensure kernel modules are installed"

oracle-linux-image-tools/distr/ol8-slim/env.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# env file.
44

55
# Distribution name
6-
DISTR_NAME="OL8U9_x86_64"
6+
DISTR_NAME="OL8U10_x86_64"
77

88
# Distribution release
99
readonly ORACLE_RELEASE=8

oracle-linux-image-tools/distr/ol8-slim/provision.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ distr::kernel_config() {
6969
if [[ ${KERNEL,,} = "uek" && ${UEK_RELEASE} != 6 ]]; then
7070
if [[ ${KERNEL_MODULES,,} == "no" ]]; then
7171
common::echo_message "Removing kernel modules"
72+
dnf mark install kernel-uek-core
7273
distr::remove_rpms kernel-uek-modules
7374
else
7475
common::echo_message "Ensure kernel modules are installed"

oracle-linux-image-tools/distr/ol9-aarch64/env.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# env file.
44

55
# Distribution name
6-
DISTR_NAME="OL9U3_aarch64"
6+
DISTR_NAME="OL9U4_aarch64"
77

88
# Distribution release
99
readonly ORACLE_RELEASE=9

oracle-linux-image-tools/distr/ol9-aarch64/provision.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ distr::kernel_config() {
6565

6666
if [[ ${KERNEL_MODULES,,} == "no" ]]; then
6767
common::echo_message "Removing kernel modules and linux firmware"
68+
dnf mark install kernel-uek-core
6869
distr::remove_rpms kernel-uek-modules linux-firmware
6970
else
7071
common::echo_message "Ensure kernel modules are installed"

oracle-linux-image-tools/distr/ol9-slim/env.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# env file.
44

55
# Distribution name
6-
DISTR_NAME="OL9U3_x86_64"
6+
DISTR_NAME="OL9U4_x86_64"
77

88
# Distribution release
99
readonly ORACLE_RELEASE=9

oracle-linux-image-tools/distr/ol9-slim/provision.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ distr::kernel_config() {
7474
rm -rf /var/lib/dnf/*
7575
if [[ ${KERNEL_MODULES,,} == "no" ]]; then
7676
common::echo_message "Removing kernel modules and linux firmware"
77+
dnf mark install "${kernel}-core"
7778
distr::remove_rpms "${kernel}-modules" linux-firmware
7879
else
7980
common::echo_message "Ensure kernel modules are installed"

0 commit comments

Comments
 (0)