Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cern-anaconda-addon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
linuxsupport
rpms
cern-anaconda-addon
Merge requests
!3
Add support for CS8
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add support for CS8
cs8
into
master
Overview
0
Commits
1
Pipelines
3
Changes
4
Merged
Ben Morrice
requested to merge
cs8
into
master
4 years ago
Overview
0
Commits
1
Pipelines
3
Changes
1
Expand
Fix broken C8
use dnf-automatic on 8 family systems
0
0
Merge request reports
Compare
version 2
version 2
4b9041b4
4 years ago
version 1
3edda9b1
4 years ago
master (base)
and
latest version
latest version
bf9472c3
1 commit,
4 years ago
version 2
4b9041b4
1 commit,
4 years ago
version 1
3edda9b1
1 commit,
4 years ago
Show latest version
1 file
+
2
−
6
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
src/cern_customizations/ks/cern.py
+
2
−
6
Options
@@ -276,9 +276,9 @@ class CernData(AddonData):
# we use call rather than check_call as we don't care if this fails
# due to yumautoupdate not being installed
if
release
==
'
8
'
:
subprocess
.
call
([
SYSTEMCTL_BIN
,
"
disable
"
,
"
yum-autoupdate
"
])
else
:
subprocess
.
call
([
SYSTEMCTL_BIN
,
"
disable
"
,
"
dnf-automatic-install.timer
"
])
else
:
subprocess
.
call
([
SYSTEMCTL_BIN
,
"
disable
"
,
"
yum-autoupdate
"
])
# locmap may not be installed - force install if it's not
locmap_installed
=
os
.
path
.
isfile
(
'
/usr/bin/locmap
'
)
@@ -301,10 +301,6 @@ class CernData(AddonData):
subprocess
.
check_call
([
LOCMAP_BIN
,
"
--enable
"
,
"
afs
"
])
else
:
subprocess
.
check_call
([
LOCMAP_BIN
,
"
--disable
"
,
"
afs
"
])
#if self.eos:
# subprocess.check_call([LOCMAP_BIN, "--enable", "eosclient"])
#else:
# subprocess.check_call([LOCMAP_BIN, "--disable", "eosclient"])
if
self
.
cvmfs
:
subprocess
.
check_call
([
LOCMAP_BIN
,
"
--enable
"
,
"
cvmfs
"
])
else
:
Loading