def fetch_image(self, path, dest, user='root'):
        """Store in the user home directory an image from a remote location.
        """
        self.run('test -f %s || curl -L -s -o %s %s' % (dest, dest, path),
                 user=user, ignore_error=True)
def fetch_image ( self , path , dest , user = 'root' ) : self . run ( 'test -f %s || curl -L -s -o %s %s' % ( dest , dest , path ) , user = user , ignore_error = True )
Store in the user home directory an image from a remote location.