# Installation
## Type
### From Network
1. Login to Red Hat Ansible Tower (AWX) using your PSI credentials

2. Launch the `Create Host` [Job Template](https://rhel-8-awx.psi.ch/#/templates?template_search=page_size:20;order_by:name;type:workflow_job_template,job_template;search:Create;search:Host). Click on the small rocket.

3. Enter the new installation specific details such as your PSI credentials, hostname, mac address and root password.

4. Select the applicable PSI division the Host belongs to, or AIT, and the PSI Network Zone. PSIGEN is the office network.

5. Select `Launch` to register your new system in the portfolio and to prepare the network boot.

5. Power on the target machine and boot from network.
6. In the network boot prompt, select `Red Hat Enterprise Linux 8 Network Install`.
7. The system will install and reboot.
8. After the first reboot the system will configure itself and will be accessible in a couple of minutes.
9. Within the next 2 hours, you should be able to login with your Kerberos or PSI Active Directory or root credentials.
10. If you can not login to the system within 2 hours, please contact the [AIT Helpdesk](/help/).
### From Media
1. Download, mount or burn the installation media from [Installation Media](https://satint.psi.ch/psi/http/isos/PSI/Library/content/dist/rhel8/8/x86_64/baseos/iso/).
2. Install the Host.
3. Run the following command as `root`:
`bash <(curl -q -k -L http://satint.psi.ch/pub/psi-rhel-8-registration.sh)`
4. Answer the questions.
5. The script will register the system and add it to the PSI RHEL-8 systems portfolio.
6. An Ansible job run will be triggered, which will configure and finish the system.
### From Media - Unattended
1. Download, mount or burn the installation media from [Installation Media](https://satint.psi.ch/psi/http/isos/PSI/Library/content/dist/rhel8/8/x86_64/baseos/iso/).
2. Install the Host.
3. Run the following command as `root` (eg. in a post-installation script):
`bash <(curl -q -k -L http://satint.psi.ch/pub/psi-rhel-8-registration.sh) -d "" -n ""`
for example:
`bash <(curl -q -k -L http://satint.psi.ch/pub/psi-rhel-8-registration.sh) -d "AIT" -n "PSIGEN"`
4. The script will register the system and add it to the PSI RHEL-8 systems portfolio.
5. An Ansible job run will be triggered, which will configure and finish the system.