Skip to content

Commit 69ac4be

Browse files
author
Nandini Devi
committed
adding changes for rhel10
1 parent 430a756 commit 69ac4be

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

zthin-parts/zthin/bin/IUCV/iucvserverdaemoninstaller.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ function installIucvserver {
115115
COPY_SERVICE_CMD="cp iucvserd /etc/init.d/"
116116
REGISTER_SERVICE_CMD="chkconfig --add iucvserd"
117117
START_SERVICE_CMD="service iucvserd start"
118-
elif [[ $os == ubuntu* || $os == rhel7* || $os == rhel8* || $os == rhel9* ]]; then
118+
elif [[ $os == ubuntu* || $os == rhel7* || $os == rhel8* || $os == rhel9* || $os == rhel10* ]]; then
119119
COPY_SERVICE_CMD="cp iucvserd.service /lib/systemd/system/"
120120
REGISTER_SERVICE_CMD="systemctl enable iucvserd.service"
121121
START_SERVICE_CMD="systemctl start iucvserd.service"

zvmsdk/dist.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,6 +605,9 @@ def get_volume_detach_configuration_cmds(self, fcp_list, target_wwpns,
605605
class rhel9(rhel8):
606606
pass
607607

608+
class rhel10(rhel8):
609+
pass
610+
608611

609612
class rhcos(LinuxDist):
610613
def create_coreos_parameter(self, network_info, userid=''):
@@ -1498,7 +1501,7 @@ def get_linux_dist(self, os_version):
14981501
return globals()[distro + release]
14991502

15001503
def _parse_release(self, os_version, distro, remain):
1501-
supported = {'rhel': ['6', '7', '8', '9'],
1504+
supported = {'rhel': ['6', '7', '8', '9','10'],
15021505
'sles': ['11', '12', '15'],
15031506
'ubuntu': ['16', '20', '22', '24', '25'],
15041507
'rhcos': ['4']}

zvmsdk/sdkwsgi/validation/parameter_types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ def valid_char(char):
459459
'oneOf': [
460460
{'type': 'string',
461461
'pattern':
462-
'^((r|R)(h|H)(e|E)(l|L))(6|7|8|9){1}([.][0-9]{1,2})?$'},
462+
'^((r|R)(h|H)(e|E)(l|L))(6|7|8|9|10){1}([.][0-9]{1,2})?$'},
463463
{'type': 'string',
464464
'pattern':
465465
'^((r|R)(e|E)(d|D)(h|H)(a|A)(t|T))(6|7){1}([.][0-9]{1,2})?$'},

0 commit comments

Comments
 (0)