Matthew Barr wrote:
n Feb 26, 2009, at 5:00 PM, Michael DeHaan wrote:
koan --register-new --system=cc10-15.interface.datacenter.company.us --interface0name=cc10-15.web.datacenter.company.us --mac0=00:00:00:00:01 --interface1IP=10.50.15.10 --interface1name=cc10-15.db.datacenter.company.us --mac0=00:00:00:00:11 --interface1IP=10.51.15.10 --profile=EL52x86_web
Talking with James Laska today, we have an idea for teaching koan to have a curses based interface for all operations, when launched with --interactive (or equivalent). Any options not fed on the command line would be asked for, including whether you wanted to register or install a VM. This could ask questions about network info, etc, but most likely we would try to discover as much as possible.
--Michael
Works for us - koan is a good target for curses, but we're likely going to build the wrapper script , anyways. We want it to be as easy as possibly to do without a screen.
Let's get the easy target of the non interactive one, first, if possible. That would be amazing..
Indeed. The non-interactive thing has to come first, that's the whole point of automation :)
You introduce a bit too many options in optparse, FWIW, I think something more like the following is more likely. It shouldn't matter: --register --registration-mac=A,B,C,D --registration-ip=A,B,C,D ...
Mainly just want to keep --help down in size.
I'm glad this is touching off a bunch of interest - this is about as close as we can get to the base idea of deployment and wholesale datacenter builds.
Matthew Barr InteractiveOne - Senior System Engineer e:mbarr@interactiveone.com c:646.765.6878 aim: matthewbarr1