CLOUDSTACK-9736: Incoherent validation and error message when you change the vm.password.length configuration parameter (#2358)

Default value introduce in schema-430to440.sql are 6 for the length

CLOUDSTACK-10111 have already the error message.
This commit is contained in:
Milamber 2017-12-12 11:36:20 +00:00 committed by Rohit Yadav
parent bac423fea0
commit 895aee37f7

View File

@ -689,7 +689,7 @@ import com.cloud.vm.dao.VMInstanceDao;
public class ManagementServerImpl extends ManagerBase implements ManagementServer, Configurable {
public static final Logger s_logger = Logger.getLogger(ManagementServerImpl.class.getName());
static final ConfigKey<Integer> vmPasswordLength = new ConfigKey<Integer>("Advanced", Integer.class, "vm.password.length", "10",
static final ConfigKey<Integer> vmPasswordLength = new ConfigKey<Integer>("Advanced", Integer.class, "vm.password.length", "6",
"Specifies the length of a randomly generated password", false);
@Inject
public AccountManager _accountMgr;