[virt-tools-list] [PATCH virt-viewer] file: add delete-this-file option
Marc-André Lureau
mlureau at redhat.com
Tue Apr 30 10:52:18 UTC 2013
----- Mensaje original -----
> On Tue, Apr 30, 2013 at 02:33:12AM +0200, Marc-André Lureau wrote:
> > In case the virt-viewer setting file is meant to temporary, you may use
> > the delete-this-file=1 option to ask the client to remove it, once it
> > has been read. This is useful for example in ovirt context, where
> > connection settings file are generated and can't be reused.
>
> Not sure what to think about that one, as in the ovirt case, the file will
> be downloaded from user portal, and will also appear in the list of files
> downloaded by the browser (I think). So this patch just looks like it's
> papering over a more fundamental issue, and not in a very elegant way imo.
It's not a "fundamental issue". It's a choice we leave to the user to be
able to set up a connection with expiration and doing some cleaning for him.
If it's stay on the filesystem, it would be practicaly unusable anyway.
Using an applet or a file to setup a connection has pros and cons. This is
not the place or the time to discuss it. At the moment, those are complementary
solutions.
More information about the virt-tools-list
mailing list