Kickstarting oVirt Node

oVirt Node hypervisors (the old RHEV-H) can be installed by a simple kickstart.

Loop mount the ovirt-node ISO and make the content avialable via HTTP

mkdir /var/www/html/iso/ovirt-node-4.4
mount -o loop /var/www/html/iso/ovirt-node-ng-installer-4.4.2-2020091810.el8.iso /var/www/html/iso/ovirt-node-4.4

Copy the PXELinux bootloader files

cp /var/www/html/iso/ovirt-node-4.4/isolinux/vmlinuz /var/lib/tftpboot/boot/ovirt-node-4.4-vmlinuz
cp /var/www/html/iso/ovirt-node-4.4/isolinux/initrd.img /var/lib/tftpboot/boot/ovirt-node-4.4-initrd.img

Create the PXELinux TFTP config

DEFAULT oVirt Node

LABEL oVirt Node
  KERNEL boot/ovirt-node-4.4-vmlinuz
  APPEND ks= ksdevice=link initrd=boot/ovirt-node-4.4-initrd.img inst.stage2=

Create the kickstart config

# System authorization information
auth --enableshadow --passalgo=sha512

# SELinux configuration
selinux --permissive

# Network information
network  --bootproto=dhcp --device=eno1 --ipv6=auto --activate
network  --bootproto=dhcp --device=eno2 --onboot=off --ipv6=auto
network  --bootproto=dhcp --device=ens5f0 --ipv6=auto --activate --nodefroute
network  --bootproto=dhcp --device=ens5f1 --onboot=off --ipv6=auto
network  --bootproto=dhcp --device=ens5f2 --onboot=off --ipv6=auto --activate
network  --bootproto=dhcp --device=ens5f3 --onboot=off --ipv6=auto

#Root password
rootpw $6$63af2vwMbmowO55d$C4CiNrljZAZbJauVxRdt8QKsbxBZcNZ.mOoKNtkJGD39nOcDh6sVtbC6Iv8JM9h0q9LJT1mhDzrTvcJzvRKff1 --iscrypted
user --name ansible --groups=wheel --password $6$63af2vwMbmowO55d$C4CiNrljZAZbJauVxRdt8QKsbxBZcNZ.mOoKNtkJGD39nOcDh6sVtbC6Iv8JM9h0q9LJT1mhDzrTvcJzvRKff1 --iscrypted

clearpart --all
bootloader --timeout=1
autopart --type=thinp

# Grab image
liveimg --url=""

# non interactive
# text
# Keyboard layouts
# old format: keyboard us
# new format:
keyboard --vckeymap=us --xlayouts=''
# System language
lang en_US.UTF-8

# Shutdown after installation

# System services
services --enabled="chronyd"

# System timezone
timezone Australia/Sydney --isUtc

%post --erroronfail
set -x

# Postprocess (always the last step)
imgbase layout --init


%packages --excludedocs --ignoremissing


%addon com_redhat_kdump --enable --reserve-mb='auto'


Network boot the server, it will magically install oVirt-node and be ready for the next step – installing the Engine.