Allow keypairs to contain a underscore
When manually creating keypairs, underscore are allowed but when creating keypairs while instanciating an instance, it's not allowed. This patch solves this. Change-Id: I0ad19bd1239b7c9ac18888d84e123e478cf40508 closes-bug: #1775030
This commit is contained in:
parent
e8af344c1b
commit
edb1aabc87
|
@ -23,7 +23,7 @@
|
|||
id="keypair-name"
|
||||
ng-model="ctrl.keypair"
|
||||
ng-required="true"
|
||||
ng-pattern="/^[A-Za-z0-9 -]+$/">
|
||||
ng-pattern="/^[A-Za-z0-9 _-]+$/">
|
||||
<span class="help-block"
|
||||
ng-show="(ctrl.doesKeypairExist() || wizardForm.$invalid) && wizardForm.$dirty">
|
||||
{$ ctrl.keypairExistsError $}
|
||||
|
|
Loading…
Reference in New Issue