Closed simonccc closed 5 months ago
bibi:image-create-error: CompletedProcess(args=['bash', '-c', 'sudo virt-customize -a amzn2-kvm-2.0.20240306.2-x86_64.xfs.gpt.qcow2 --install qemu-guest-agent,nfs-common --run-command "curl -sfL https://get.k3s.io > /k3s.sh"'], returncode=1, stdout='[ 0.0] Examining the guest ...\n[ 4.3] Setting a random seed\nvirt-customize: warning: random seed could not be set for this type of guest\n[ 4.3] Setting the machine ID in /etc/machine-id\n[ 4.3] Installing packages: qemu-guest-agent nfs-common\n', stderr='virt-customize: error: cannot use ‘--install’ because no package manager has been detected for this guest OS.\n\nIf this guest OS is a common one with ordinary package management then this may have been caused by a failure of libguestfs inspection.\n\nFor OSes such as Windows that lack package management, this is not possible. Try using one of the ‘--firstboot*’ flags instead (described in the manual).\n\nIf reporting bugs, run virt-customize with debugging enabled and include the complete output:\n\n virt-customize -v -x [...]\n')
Rocky needed qagent and selinux fixes but works now
This qcow doesn't seem to work - qagent did not get installed
Also please test the Rocky images
https://cdn.amazonlinux.com/os-images/2.0.20240306.2/kvm/