Hello, I’ m trying to port to openSUSE, of which I have a limited knowledge, my home-lab semi-automatic deployment system used with redhat derivative distros. In RedHat like distro I inject the kickstart file inside to kvm using virt-install utility and to which I provide the iso image of the selected distro as –location. The solution perhaps is not the more efficient but is simple end effective for me. Now I tried to to the same with OpenSUSE injecting the AutoYaST control file and it works except that Autoyast performs its installation in two stages. Sadly at end of first stage it performs a reboot and I’m not able to provide to virt-install a way to keep iso connected to installing VM. The end result is that second stage hangs waiting for the media. As dirty workaround, I re-associate the iso to new VM e.g by virt-manager go in the terminal and perform a retry on ncurcess interface finalizing the installation successfully. I read many times the autoyast documentation but I didn’t find a way to configure the control file so that it doesn’t require the media. The installing machine has network properly configure and is able to access to package repositories public or added by add-on list directive but seems to require anyway the media. If I disable the execution of second stage at all, as per documentation advise, the installation does not finish correctly. Do you have any suggestion? The install script I’m executing at moment inside a Jenkins job is like this virt-install --connect qemu:///system --name ${VMHOST} --memory ${RAM} --vcpus=${CPU} --os-type=linux --os-variant=opensuse15 --accelerate \ --disk /var/lib/libvirt/images/${VMHOST}.qcow2,size=${VMSIZE},format=qcow2,bus=virtio,cache=none \ --location /var/lib/libvirt/iso/openSUSE-Leap-15.5-DVD-x86_64-Build491.1-Media.iso \ --boot hd --network type=direct,source=enp109s0f3,source_mode=bridge,model=virtio --noautoconsole --wait=-1 \ --initrd-inject autoinst.xml --extra-args 'autoyast=default netsetup=dhcp' Thanks in advance Claudio
participants (1)
-
Claudio Nasuti