Skip to content

Commit c74b3af

Browse files
authored
Merge pull request #22 from brianhlin/HTCONDOR-503.add-sl-support
Add Scientific Linux OS detection (HTCONDOR-503)
2 parents 5998ef9 + ec55157 commit c74b3af

File tree

3 files changed

+14
-83
lines changed

3 files changed

+14
-83
lines changed

Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,9 @@ RUN patch -d / -p0 < /tmp/bosco_cluster_xtrace.patch
106106
COPY hosted-ce/overrides/skip_key_copy.patch /tmp
107107
RUN patch -d / -p0 < /tmp/skip_key_copy.patch
108108

109-
# Fix Ubuntu20 OS detection (SOFTWARE-4463)
110-
# Can be dropped when HTCONDOR-242 is involved
111-
COPY hosted-ce/overrides/HTCONDOR-242.remote-os-detection.patch /tmp
112-
RUN [[ $BASE_YUM_REPO != 'release' ]] || patch -d / -p0 < /tmp/HTCONDOR-242.remote-os-detection.patch
109+
# Add Scientific Linux OS detection to bosco_cluster (HTCONDOR-503)
110+
COPY hosted-ce/overrides/HTCONDOR-503.add-sl-support.patch /tmp
111+
RUN patch -d / -p0 < /tmp/HTCONDOR-503.add-sl-support.patch
113112

114113
# Allow the Gridmanager to specify 'batch_gahp' for its remote command
115114
# Required for HTCondor 9.0.0 on the CE and Bosco 1.3 usage

hosted-ce/overrides/HTCONDOR-242.remote-os-detection.patch

Lines changed: 0 additions & 79 deletions
This file was deleted.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
--- /usr/bin/bosco_cluster
2+
+++ /usr/bin/bosco_cluster
3+
@@ -288,7 +288,7 @@ ssh_detect_linux_distro () {
4+
major_ver="${ver%%.*}"
5+
6+
case "$dist" in
7+
- (rhel|centos)
8+
+ (rhel|centos|scientific)
9+
echo "CentOS${major_ver}" ;;
10+
debian)
11+
echo "Debian${major_ver}" ;;

0 commit comments

Comments
 (0)