tjcsl / director

Director (web3)
https://director.tjhsst.edu
MIT License
11 stars 5 forks source link

Fix VM name to hostname conversion #14

Closed WilliamOConnell closed 7 years ago

WilliamOConnell commented 7 years ago

Currently, the name of a VM has to be unique, but it can contain spaces. These spaces are changed to dashes to form the subdomain for the hostname of the VM. This means that if you create two VMs, one called "test vm" and one called "test-vm", they will both show as having the same host name: "test-vm.vm.sites.tjhsst.edu".

ezwang commented 7 years ago

There is also a problem with uppercase and lowercase letters. Both "Testing" and "testing" both show the same hostname: "testing.vm.sites.tjhsst.edu".