Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Konstantin A
tower
Commits
37ed42bd
Commit
37ed42bd
authored
Feb 27, 2018
by
Aleksey Shirokih
Browse files
Restrict usage of dot at the end of nodename
parent
4a2b8b42
Changes
1
Hide whitespace changes
Inline
Side-by-side
tower/ui/node_ui.js
View file @
37ed42bd
...
...
@@ -117,7 +117,7 @@ var node_form = {
required
:
true
,
bottomLabel
:
"
Hostname of server will be replaced with that name. Along with ip address will be placed to /etc/hosts
"
,
invalidMessage
:
"
Cannot be empty, have to be alphanumeric
"
,
validate
:
Tower
.
rules
.
regex
(
/^
[
a-zA-Z0-9
\_\.
-
]
*$/
)
validate
:
Tower
.
rules
.
regex
(
/^
[
a-zA-Z0-9
\_\.
-
]
*
[
a-zA-Z0-9
]
$/
)
},
{
view
:
"
checkbox
"
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment