[Libguestfs] How to make a Google Compute Engine boot image with guestfish?
Richard W.M. Jones
rjones at redhat.com
Fri Feb 17 11:48:47 UTC 2017
On Fri, Feb 17, 2017 at 10:45:56PM +1100, Andrew Stuart wrote:
> Thanks Richard.
>
> I am not able to perform a mount on the machine that I’ll be building this image on.
>
> Is there a way for me to copy the files into the image without doing a mount - as the perl script appears to do at this point:
> $g->mount ("/dev/sda1", "/");
That's a mount in the libguestfs library namespace. It doesn't
require any special permissions on the machine running the script.
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/
More information about the Libguestfs
mailing list