# Installation (Alpha)

## Network Installation

(note the screenshots still show v8.5, but v8.6 was just released so we proceed with it)

The machine you want to install needs to be registered in `sysdb`, so far it works best in the `rhel8_preprod` Puppet environment:
```
FQDN=...
bob node set-attr $FQDN puppet_env=rhel8_preprod
```

Optional you can set `netboot` and RHEL 8.6 installer but that can also be selected manually in be boot menu:
```
bob node netboot $FQDN
bob node set-attr $FQDN ipxe_installer=rhel86install
```
### Installation with UEFI
Start the machine and select network boot (if not already the default), then you get following menu:  
![Grub default menu](installation/grub_default.png)

There select "Windows and Tools Menus" (do not get irritated by the name) to get into the iPXE menu, where you can do also a lot of other stuff.  
![Grub menu selection for iPXE](installation/grub_select.png)  
(I plan to get rid of above menu as it also breaks automatic installation by `sysdb` configuration).

The iPXE menu is then generated according to `sysdb` and its default depends on the configuration, there, but you may override it manualy:  
![iPXE menu with local boot default](installation/ipxe_default.png)

![select Test sub menu in iPXE menu](installation/ipxe_select_test.png)

![select RHEL 8 installation](installation/ipxe_select_rhel8.png)

### Installation with Legacy BIOS 
Start the machine and select network boot (if not already the default), then you get following menu:  
![PXE default menu](installation/pxe_default.png)

There select "Red Hat Enterprise Linux 7 Network Install Menu" to get into the iPXE menu, where you can do also a lot of other stuff.  
![PXE menu selection for iPXE](installation/pxe_select.png)  
(I plan to get rid of above menu as it also breaks automatic installation by `sysdb` configuration).

The iPXE menu is then generated according to `sysdb` and its default depends on the configuration, there, but you may override it manualy:  
![iPXE menu with local boot default](installation/ipxe_default.png)

![select Test sub menu in iPXE menu](installation/ipxe_select_test.png)

![select RHEL 8 installation](installation/ipxe_select_rhel8.png)

