[et-mgmt-tools] [PATCH] Add --nointeract option to virt-install

Cole Robinson crobinso at redhat.com
Thu Oct 18 21:16:35 UTC 2007


The attached patch adds a command line flag to disable interaction in
virt-install. I think this would be handy for anyone using virt-install
for scripting or automated testing. Setting the flag causes virt-install
to throw an exception when there would normally be a prompt for input.

I used a global variable in cli.py to accomplish this, which is simple,
but there may be a 'more correct' way to do this that I'm missing. Anyone
have any input on the method, or the feature itself?

Thanks,
Cole

-- 
Cole Robinson
crobinso at redhat.com
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: virtinst-nointeract-option-patch
URL: <http://listman.redhat.com/archives/et-mgmt-tools/attachments/20071018/f7e0d5c5/attachment.ksh>


More information about the et-mgmt-tools mailing list