On Wed, 25 Nov 2020, 02:10 Michal Schorm, <mschorm@redhat.com> wrote:
Hello,
I am deploying VMs via kickstart files, so the process can be
completely non-interactive.

Right now I'm stuck with Fedora 33.
The following command works completely fine on F32, F31 and so on, but not F33.
Can you please help me fix it?

virt-install  \
   --connect qemu:///system \
   --network bridge:virbr0 \
   --initrd-inject /var/local/minimal.ks \
   --name test_name_3 \
   --disk /VMs/test_name_3.qcow2,size=10,format=qcow2 \
   --memory 2048 \
   --location https://download.fedoraproject.org/pub/fedora/linux/releases/32/Server/x86_64/os
\
   --hvm --vcpus=2 --check-cpu --accelerate \
   --graphics none \
   --extra-args 'ks=file:/minimal.ks console=tty0 console=ttyS0,115200'

Just change the URL to point to F33 repo. It will fail, after the
whole installation is complete and the VM should start one last time,
with following error:

  Failed to start Switch Root.
  Failed to switch root: Specified switch root path '/sysroot' does
not seem to be an OS tree. os-release file is missing.

I checked that the file "/etc/os-release" is in place and populated.

I uploaded the used Kickstarter file, as well as some logs here:
  https://gitlab.com/Faramos/vm/-/snippets/2042979

I also tried to force installation with EXT4 partitions (instead of
F33 default BTRFS), but it hasn't made any difference.
Nothing else in
https://fedoraproject.org/wiki/Category:ChangeAcceptedF33 seems
suspicous to me.

I am using an F32 host.

--

Michal Schorm
Software Engineer
Core Services - Databases Team
Red Hat

--
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org