20 Mar
2014
20 Mar
'14
2:30 p.m.
Hello, On Thursday 20 March 2014 15:25:48 Safa Rekik wrote:
I tried to create a disk image using the python-guestfs documentatoin<http://libguestfs.org/guestfs-python.3.html#description> but when i come across "g.disk_create (output, "raw", 512 * 1024 * 1024)" i get an error saying that this function does not exist !
The disk-create API has been added quite recently in the development serie 1.25, and to be precise it is available in >= 1.25.30. So if you are running a stable serie of libguestfs (say 1.24, 1.22, etc) you do not have that API available. -- Pino Toscano