[Libguestfs] Conditional statements in libguestfs

Priyanka Ranjan priyanka3rdfeb at gmail.com
Wed Jun 24 09:50:09 UTC 2015


Hi Experts,

I am writing a guestfish script . I want to implement conditional logic
inside guestfish script. For example , if state.tgz exists in image do
something else if onetime.tgz exists in the image do someotherthing .

Is it possible to do this within guestfish script. I tried to search a
solution for this in guestfish doucmentation but couldn't find anything
useful.

Thanks in advance for your help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20150624/660eab21/attachment.htm>


More information about the Libguestfs mailing list