Re: Fedora 33 virt-install + ks has some problem switching root

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jan 13, 2021 at 11:34:09AM +0000, Daniel P. Berrangé wrote:
> On Wed, Jan 13, 2021 at 10:16:43AM +0000, Richard W.M. Jones wrote:
> > We use the same process to make these as we have always used, this
> > kickstart:
> > 
> >   https://github.com/libguestfs/libguestfs/blob/master/builder/templates/fedora-33.ks
> 
> Have you tried removing the whole of the %post script there ? The main
> ks rules that all look sane enough. It feels like that dracut invokation
> in %post is most likely thing to be causing a problem. Or perhaps the
> args to the 'bootloader' statement need an change in some manner ? 

Weirdly it works when I comment out the dnf update:

 %post
 # Ensure the installation is up-to-date.
-dnf -y --best upgrade
+#dnf -y --best upgrade

which I certainly wasn't expecting.  At least I can ship a working
image now.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux