Skip to content
This repository has been archived by the owner on Mar 30, 2023. It is now read-only.

Commit

Permalink
Clearer username validation message
Browse files Browse the repository at this point in the history
  • Loading branch information
russcam committed Jul 4, 2016
1 parent f5f1e89 commit cada947
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/createUiDefinition.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@
"type": "Microsoft.Compute.UserNameTextBox",
"label": "User name",
"defaultValue": "",
"toolTip": "Specify a user for accessing the virtual machines within your cluster. Must be a valid Linux username",
"toolTip": "Specify a user for accessing the virtual machines within your cluster. Must be a valid Ubuntu username",
"constraints": {
"required": true,
"regex": "^(?!(?:adm|admin|audio|backup|bin|cdrom|crontab|daemon|dialout|dip|disk|fax|floppy|fuse|games|gnats|irc|kmem|landscape|libuuid|list|lp|mail|man|messagebus|mlocate|netdev|news|nobody|nogroup|operator|plugdev|proxy|root|sasl|shadow|src|ssh|sshd|staff|sudo|sync|sys|syslog|tape|tty|users|utmp|uucp|video|voice|whoopsie|www\\-data)$)\\w+$"
"regex": "^(?!(?:adm|admin|audio|backup|bin|cdrom|crontab|daemon|dialout|dip|disk|fax|floppy|fuse|games|gnats|irc|kmem|landscape|libuuid|list|lp|mail|man|messagebus|mlocate|netdev|news|nobody|nogroup|operator|plugdev|proxy|root|sasl|shadow|src|ssh|sshd|staff|sudo|sync|sys|syslog|tape|tty|users|utmp|uucp|video|voice|whoopsie|www\\-data)$)\\w+$",
"validationMessage": "Username must not be a reserved Ubuntu username"
},
"osPlatform": "Linux"
},
Expand Down

0 comments on commit cada947

Please sign in to comment.