Here's the magic incantation, which you might find in some of the tests, too:
#!/bin/sh ./bin/accumulo init --clear-instance-name <<EOF instance secret secret EOF The flag for overwriting the instance name already exists. Might as well add the others. On Mon, Aug 27, 2012 at 9:55 PM, Josh Elser <[email protected]> wrote: > AFAIK, there are no CLI options for this currently. You might be able to > pipe in your instance name and passwd (two times) to get around it. > > e.g. `echo accumulo secret secret | accumulo init` > > Alternatively it should be straightforward to add -i and -p options to > `init`. > > > On 08/27/2012 07:29 PM, David Medinets wrote: > >> I am scripting the installation of accumulo for no particular reason. >> I've reached the stage when I need to run "accumulo init". I've looked >> at the source and do not see any way to pass the instance name and >> password on the command line. Did I overlook something? >> >
