mirror of
https://github.com/retspen/webvirtmgr.git
synced 2026-04-25 15:45:51 +03:00
[GH-ISSUE #32] Support for virtual machines with special characters in the name #24
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @JJClements on GitHub (Mar 1, 2013).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/32
It would be good to look at supporting virtual machines with special characters in the name of the virtual machine.
I guess this could be fixed by either using a different framework other than Django which would mean a total rewrite of the project -OR- look at using the virtual machine ID in the URL instead of the virtual machine name with the special characters in it that isnt supported by Django
@retspen commented on GitHub (Mar 1, 2013):
Why? ID will be change after reboot.
@JJClements commented on GitHub (Mar 1, 2013):
True, so is it possible to get the ID for the virtual machine when it is selected and use that instead of the virtual machine name?
Or better still, use the UUID from the virtual machine XML file. This will never change and will be unique for every virtual machine. e.g. ef5692c6-4678-5abc-5c3f-16b63cacfc41
and now you have added support for the character '-' in the URL this should work ok.
@retspen commented on GitHub (Mar 1, 2013):
Why need use name like ef5692c6-4678-5abc-5c3f-16b63cacfc41? Simple usage My-New-VM in URL.
@JJClements commented on GitHub (Mar 1, 2013):
Hi, the reason is because we prefer to use the FQDN as the name of the server e.g. 'web001.domain.com' and at the moment there is no support for servers with a '.' in the name.
@JJClements commented on GitHub (Mar 1, 2013):
We also already have LOTS of virtual servers with a name like web001.domain.com and at the moment we cannot manage these with WebVirtMgr if we wanted to. I guess there will be lots of other people with virtual servers that also have a '.' in the name!?
@retspen commented on GitHub (Mar 1, 2013):
Add support "." in VM name
@JJClements commented on GitHub (Mar 1, 2013):
Thanks very much!!! There is still an issue if you attempt to add a KVM host connection with a '.' in the name as well. Can you check this for us?
@retspen commented on GitHub (Mar 1, 2013):
Fix