Hi,
On Wednesday, 12 July 2017 05:16:19 CEST 陳培泓 wrote:> I followed the examples 1 and 2 in
> http://libguestfs.org/guestfs-python.3.html
>
> I create disk img by example 1 and use example 2 to inspect the img.
>
> I got error in the line:
>
> > g.inspect_os() : no operating systems found.
>
>
> how could fix it? any examples to create os in python?
The first example shows how to create a simple disk image, not a
complete operating system. The second example will work if you use it
with the disk image of an installed OS, for example Debian, Fedora,
etc.
--
Pino Toscano