[et-mgmt-tools] [PATCH] virt-install: add --wait option

Daniel P. Berrange berrange at redhat.com
Thu Jul 24 12:17:06 UTC 2008


On Wed, Jul 23, 2008 at 11:50:51AM -0400, Cole Robinson wrote:
> The attached patch adds a --wait option to virt-install, which
> forces the app to watch the install for a specified number
> of minutes. If the time limit is exceeded, we simply exit
> the app, leaving the domain in whatever state it is in. If
> the vm shuts down as expected, the app continues as usual.
> 
> The time limit is regardless of whether a console has been
> specified or if one has already closed. A negative value
> implies waiting indefinitely, and a value of 0 is the same
> as not specifying --wait at all.

This looks reasonable to me. The only comment I'd have is wrt
to its interaction with --noautoconsole. Perhaps '--wait=0'
should imply  --noautoconsole, because otherwise it'd still 
actually wait.


Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the et-mgmt-tools mailing list