Skip to content

Add a display name to template settings #3321

@bpmct

Description

@bpmct

Problem statement

I'd love to be able to create templates with the following names:

  • Proxmox VM
  • Proxmox Container
  • Standard Dev Bundle
  • Bare Dev Bundle
  • Ubuntu Slim
  • Docker with nixOS

However, template names are currently being validated as usernames so this is not possible.

Name string `json:"name" validate:"username,required"`

usernameRegex = regexp.MustCompile("^[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*$")

Definition of done

Users can create templates with names that contain spaces.

Metadata

Metadata

Assignees

Labels

apiArea: HTTP API

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy