I know CentOS 6 is EOL and not supported; what I’m trying to do is automate the deployment of Rocky8 on this machine and migrate functions from the host to a VM to make it easier to upgrade the host with minimal impact.
The problem I’m hitting is easily shown…
virt-install --noreboot -n test8 -r 3073 '--vcpus=1' '--os-variant=rhel7' --accelerate -v '--network=bridge=br0,target=v-test8' --disk path=/dev/Raid10/vm.test8 --location /OS_ISO_images/Rocky-8.4-x86_64-minimal.iso --nographics --initrd-inject=/RedHat/kickstart/rocky8.cfg --extra-args "inst.ks=file:/rocky8.cfg console=tty0 console=ttyS0,115200n8"
I’ve used the
minimal.iso and the full
dvd1.iso. And the build aborts before it even starts
Starting install... Retrieving file .treeinfo... | 2.9 kB 00:00 ... ERROR No option 'boot.iso' in section: 'images-x86_64' Domain installation does not appear to have been successful. If it was, you can restart your domain by running: virsh --connect qemu:///system start test8 otherwise, please restart your installation.
I get the same results if I extract the ISO contents to a tree that’s served via http.
And, to be fair, this is true! There is no boot.iso in the
.treeinfo file (there is on CentOS 8).
I can do manual installs of Rocky 8 on this machine via
virt-manager and interactive configuration, but I really want to automate this with kickstart and
virt-install to match all my other OS deployments.
This is likely due to the old version of
virt-intall on CentOS 6 but it’s what I have to work with.
Any ideas how I can work around this issue?