prona-p4-learning-platform / learn-sdn-hub

12 stars 6 forks source link

proxmox instance hostname generation should remove unallowed chars from dns hostnames #185

Closed srieger1 closed 2 months ago

srieger1 commented 3 months ago

currently, usernames containing unallowed characters (like underscore "_") lead to the LXC creation in proxmox provider to fail, as the hostname must comply with dns hostname requirements (basically alphanumeric + "-").

proxmox provider should filter chars that are not allowed from hostnames before creating the instance. The name of the LXC obviously is not affected.

srieger1 commented 2 months ago

fixed #192