[Users] ovirt-shell: Disabling autopage

Michael Pasternak mpastern at redhat.com
Thu Feb 14 19:27:11 UTC 2013


Hi Adam,

On 02/14/2013 07:04 PM, Adam Litke wrote:
> Hi,
> 
> Currently the ovirt-shell displays command results using a pager.  It does this
> even when running non-interactively (ie. input via pipe) which is broken.  

Not sure what do you mean by 'broken', - i didn't hear any complaints on pipe yet,
can you elaborate?

btw is it possible that your ovirt-shell is outdated?, take the latest from pypi.

> As a workaround, I discovered the option 'cli:autopage = False' should be placed in
> my .ovirtshellrc file.  This works great the first time, but then it seems
> ovirt-shell is overwriting this file and dumping my new setting.  What am I
> doing wrong here?

cli:autopage is deprecated, therefore ovirt-shell overriding old configuration
file with new format, you can disable pagination by 'no_paging = True' in .ovirtshellrc

> 


-- 

Michael Pasternak
RedHat, ENG-Virtualization R&D



More information about the Users mailing list