Red Hat Bugzilla – Bug 54849
Can't set a hostname witha a '-' character in it.
Last modified: 2008-05-01 11:38:01 EDT
Description of Problem:
redhat-config-network will not allow me to set the hostname of the machine
to a name containing a '-' character ie:
It won't let you set it in the alias field either.
Version-Release number of selected component (if applicable):
Will look into it.
You can set a hostname with an underscore. I guess there is an input filter
which filters dashes (which are RFC-conformant) instead of underscores (which
Created attachment 35181 [details]
Patch to entry input filters, applicable in dir /usr/share/redhat-config-network/netconfpkg/
The unpatched filters also take the pipe character '|' as input, the patch
fixes this as well.
fixed in cvs