----- Original Message -----
> On Mon, Jan 8, 2018 at 2:52 PM, Jonathan Lebon <jle...@redhat.com> wrote:
> > Interestingly, these are both things that Atomic Host make
> > easier to query.
> >
> > E.g. if both VMs are on AH but sitting on different commits,
> > you can pull the commit on one of the two and do:
> >
> >     $ rpm-ostree db diff COMMIT1 COMMIT2
> 
> oh, that's so very nice. Can it be extracted, split out to a script?
> (ie: point it to two rpmdb dirs...)

It's not pretty, though here's a Gist that does this:

https://gist.github.com/jlebon/790fcd04646e10bb09ae7993b20ca307

You'll need `ostree` and `rpm-ostree` (which can be
installed equally well in yum/dnf-managed systems).
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Reply via email to