Skip to content
Snippets Groups Projects

Add support for CS8

Merged Ben Morrice requested to merge cs8 into master
@@ -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