We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 431d227 commit de4e464Copy full SHA for de4e464
proxstar/static/js/script.js
@@ -280,7 +280,7 @@ $("#create-vm").click(function(){
280
return disk
281
}).then((disk) => {
282
if (name && disk) {
283
- if (!ssh_regex.test(ssh_key)) {
+ if (template != 'none' && !ssh_regex.test(ssh_key)) {
284
swal("Uh oh...", "Invalid SSH key!", "error");
285
} else if (disk > max_disk) {
286
swal("Uh oh...", `You do not have enough disk resources available! Please lower the VM disk size to ${max_disk}GB or lower.`, "error");
0 commit comments