#!/bin/bash # Change ROCKYISO to a proper Rocky 9 boot iso path - it will launch and run Anaconda # can connect via VNC to localhost:5931 to examine the system as it builds # This should be run as root/sudo. Log output goes in the current dir, image goes in ./rocky9_i686_image/ rm -rf $(pwd)/rocky9_i686_image rm -f $(pwd)/*.log ROCKYISO=/root/Rocky-9-latest-x86_64-boot.iso livemedia-creator \ --ks ./rocky9_i686.ks \ --resultdir $(pwd)/rocky9_i686_image \ --project "Rocky 9 i686" \ --make-disk --qcow2 --image-type qcow2 \ --iso ${ROCKYISO} \ --vnc="vnc=127.0.0.1:31" --ram 4096 --vcpus 2 \ --image-name "rocky9_i686.qcow2"