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

Re: [Libguestfs] How to make a Google Compute Engine boot image with guestfish?



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/


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