[libvirt] Valid characters in domain names?
Justin Clift
jclift at redhat.com
Sun Oct 3 12:51:12 UTC 2010
On 10/03/2010 08:33 PM, Richard W.M. Jones wrote:
<snip>
> Indeed. I'm sure we need a whitelist, not a blacklist as suggested by
> the other comment. All domains I'd ever want to create would match
> the regexp
>
> ^[[:alpha:]][-_[:alnum:]]*$
>
> This might break existing users however.
Wonder if there are characters supported by some hypervisors, but not
others?
ie maybe Xen supports '/', '*', '+' in guest names, but ESX doesn't
That could lead to some interesting guest import problems. :(
More information about the libvir-list
mailing list