Fix OPENDJ-435: Don't create any backend DB's when running setup in cli mode
Remove the default value of "dc=example,dc=com" for the -b option to setup, thereby allowing non-interactive creation of a new OpenDJ instance without a backend.
Note that both interactive CLI and GUI setup interfaces permit creation of a new instance without a backend, it was just non-interactive mode which had the limitation.
| | |
| | | * |
| | | * |
| | | * Copyright 2008-2010 Sun Microsystems, Inc. |
| | | * Portions copyright 2011 ForgeRock AS. |
| | | * Portions copyright 2011-2012 ForgeRock AS. |
| | | */ |
| | | package org.opends.server.tools; |
| | | |
| | |
| | | OPTION_LONG_BASEDN.toLowerCase(), OPTION_SHORT_BASEDN, |
| | | OPTION_LONG_BASEDN, false, true, true, |
| | | INFO_BASEDN_PLACEHOLDER.get(), |
| | | "dc=example,dc=com", OPTION_LONG_BASEDN, |
| | | null, OPTION_LONG_BASEDN, |
| | | INFO_INSTALLDS_DESCRIPTION_BASEDN.get()); |
| | | addArgument(baseDNArg); |
| | | |