Re: [PATCH] virtinst: make hasFile not grab files

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

 



Cole Robinson wrote:
> The attached patch changes the implementation of hasFile from
> ImageFetcher classes to not actually acquire the file it
> is looking for, rather just test for its existence. http
> will use a HEAD request, local mounts will check the path,
> and ftp will query the size (which will work for files), 
> and if that fails will try to cd to the location.
> 
> I gave all the cases a test but I may be missing something,
> so if anyone has suggestions, please recommend :) This will
> be nice to have as it opens up some options, ex. quickly
> probing a tree for a paravirt kernel.
> 

I've committed this.

http://hg.et.redhat.com/virt/applications/virtinst--devel?cs=96dd51a7e06b

- Cole

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux