Skip to content

Commit

Permalink
Merge pull request #7725 from sfayer/el9_cloudinit
Browse files Browse the repository at this point in the history
[8.0] Update CloudCE cloudinit.template for EL8+
  • Loading branch information
fstagni authored Jul 10, 2024
2 parents 71def4b + 0b870a5 commit 03c556d
Showing 1 changed file with 7 additions and 34 deletions.
41 changes: 7 additions & 34 deletions src/DIRAC/Resources/Computing/cloudinit.template
Original file line number Diff line number Diff line change
Expand Up @@ -37,32 +37,6 @@ write_files:
J0PnsV/1ZEJb1lDZ5/Y8EllkQGxdCNonJte8Pl/SoknqUdV3pkOeth7iwgv6rpv+wCS5sJD/Aabe
/gbmX14A1QmGvGC8mIXg3b6V6xuRF60YLLD04RUNa+lesX1Nv95aEp5Zr6vBM8iD2gcZ7tV/IH/c
52lA/hodxZL/zyL9CUAskc+3BgAA
- encoding: gz+b64
path: /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
content: |
H4sIAEFTZl0CA31VR67z6AHb6xRvmcCYsaxqBfgXn3rvfaduVau3089LDhACXJHghgT411+/oDlB
0n9MwfwxPVqVmB+Fi35o1WCU/6p/QX4xL/V3+M+PMGym8LO//sb+fr1+/iXo3lOth+38NwT1lqTT
vLIlkkVzgHl54yc8tIkByWx64jNeDH7pkrRwfQMZ2RaPBoMiysdcxTR5gpmGDKewWpKm4Hpy5Df+
zEjEAANmhNHuEmhVMkU4yguukUUftuaiW0HgNBtFdcEDTI7eQ00UfHq7U22hgw2DrKSjIUkil8I9
03S+ux2zgWEdOcHUaGnTDT4yIEkKOLyaCH+cTGjnQ/8qZz95bkn3rVi/L4kPsmJ2Ptbl9J5ccRF5
Dz1H5n64xDMXAkWwMCS2SjdRB1aDGvcLlj6CwVXsrZSGRB376y3syRCNZhYEWAjbrJmNU8nrcUtg
6Clh3RI/IoSbqWjDIef5PuHueqx9L33bhIOPI829jcTgyI0bpljmbxTUdoXfm4WcpXLKXx/nHtzn
sUaHwMrQQIhl8LGrYctt+9g3GcPvNfJXZeuU421ZY444bjBnlsXKi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5X1hmVj5b99b0inDi9A/HipHcEef/5Afz65mUD/+w5OZ//PsfwDIDTlCX4GAAA=
- path: /etc/cvmfs/default.local
content: |
CVMFS_CACHE_BASE=/mnt/cvmfs
Expand Down Expand Up @@ -91,17 +65,13 @@ yum_repos:
enabled: true
gpgcheck: true
gpgkey: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CernVM
epel:
name: Extra Packages for Enterprise Linux 7 - $basearch
baseurl: http://download.fedoraproject.org/pub/epel/7/$basearch
mirrorlist: https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch
failovermethod: priority
enabled: true
gpgcheck: true
gpgkey: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7

packages:
- cvmfs
# EPEL isn't strictly required many more
- epel-release
# If you need any further packages that depend on EPEL, include
# "dnf install -y" statements in runcmd rather than listing them here

runcmd:
# Allow nested singularity
Expand All @@ -118,6 +88,9 @@ runcmd:
- [ chmod, 600, /mnt/proxy.pem ]
- [ chown, "dirac:dirac", /mnt/proxy.pem ]
- [ chown, -R, "dirac:dirac", /mnt/dirac/etc ]
# Start caching certificates directory from CVMFS
# Workaround for when local Stratum-1 is slow
- [ stat, /cvmfs/grid.cern.ch/etc/grid-security/certificates ]
- [ ln, -s, /cvmfs/grid.cern.ch/etc/grid-security/certificates, /mnt/dirac/etc/grid-security/certificates ]
- [ cp, /root/run_pilot.sh, /mnt/run_pilot.sh ]
- [ cp, /root/startup.sh, /mnt/startup.sh ]
Expand Down

0 comments on commit 03c556d

Please sign in to comment.