Koozali.org: home of the SME Server

Modifying hostnames that have an apostrophe in the comment section

Offline Peasant

  • *
  • 143
  • +2/-0
I've raised bug 8723 as I've tried to modify a hostname I'd created in server-manager, but because I'd put an apostrophe in the comment box it doesn't work. Is there a way I can modify hostnames from the command line in the meantime please?

Thanks.
Jim

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Modifying hostnames that have an apostrophe in the comment section
« Reply #1 on: December 10, 2014, 12:28:50 AM »
Peasant

Just delete the Hostname & recreate it correctly.

You can look in the messages log file to see what commands SME server issues when you create a hostname in server manager panel, that way you can work out what CLI commands to use to delete & recreate using CLI.

« Last Edit: December 10, 2014, 12:32:29 AM by janet »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline Peasant

  • *
  • 143
  • +2/-0
Re: Modifying hostnames that have an apostrophe in the comment section
« Reply #2 on: December 10, 2014, 08:58:44 AM »
Great, thanks.
Jim