fosshostorg / aarch64

Dashboard and API for https://console.aarch64.com
https://console.aarch64.com
GNU Affero General Public License v3.0
12 stars 7 forks source link

Add rename hostname feature #87

Closed GrahamSH-LLK closed 2 years ago

GrahamSH-LLK commented 2 years ago

image

haylinmoore commented 2 years ago

Wonderful work Graham. For naming VMs during creation we use a regex to check for valid names. Maybe that should be split into a function and then applied to both such that we have consistent naming rules? Any thoughts?

GrahamSH-LLK commented 2 years ago

Wonderful work Graham. For naming VMs during creation we use a regex to check for valid names. Maybe that should be split into a function and then applied to both such that we have consistent naming rules? Any thoughts?

sounds good.

haylinmoore commented 2 years ago

https://github.com/fosshostorg/aarch64/blob/195e206e489cdc31f5d2416ba24b3fc9680fe0d0/api.py#L750-L751 whoops I thought I linked it