Files
gitea-pages/infrastructure-guide/newver.md

919 B

Adding a new RHEL version to the RHEL7 install mechanism

Download the iso image on repo00 from https://id-sat-prd.ethz.ch/pub/isos/

[root@repo00 ~]# cd /var/www/html/iso/
[root@repo00 iso]# wget https://id-sat-prd.ethz.ch/pub/isos/7Server/rhel-server-7.9-x86_64-dvd.iso
[root@repo00 iso]# systemctl restart pli-mount-iso-images.service

The service restart mounts the iso as a loop device into a directory of the same name.

Then the ipxe and grub templates of the sysdb have to be edited, to add the new version:

https://git.psi.ch/linux-infra/sysdb/blob/prod/sysdb/ipxe_template.py

https://git.psi.ch/linux-infra/sysdb/blob/prod/sysdb/grub_template.py

Once the change is committed, the changes have to be pulled on boot00:

[root@boot00 ~]# cd /var/www/sysdb/app/
[root@boot00 app]# git pull
[root@boot00 app]# systemctl restart httpd

The changes only come live after a restart of the httpd.