27 lines
922 B
Markdown
27 lines
922 B
Markdown
# Repository Server
|
|
|
|
The repository server is [lx-repos-01.psi.ch](https://lx-repos-01.psi.ch), usually accessed with the alias [repos.psi.ch](https://repos.psi.ch).
|
|
|
|
## Prepare a new RHEL Version for Installation
|
|
|
|
Download the iso image on repos.psi.ch from https://id-sat-prd-02.ethz.ch/pub/isos/ and add it to the /packages/rhel\[7/8]/iso directory
|
|
|
|
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 sysdb.psi.ch:
|
|
|
|
```
|
|
[root@sysdb ~]# cd /var/www/sysdb/app/
|
|
[root@sysdb ~]# git pull
|
|
[root@sysdb ~]# systemctl restart httpd
|
|
```
|
|
|
|
The changes only come live after a restart of the httpd.
|
|
|