hostnamechange.pl script check

Answered Question
Nov 13th, 2008
User Badges:

Hi all,


If anybody can look at this for me to verify the script and make sure it looks correct would be great. I'm taking my lab ciscoworks server and replacing the production Ciscoworks server tonight after 8:00 pm EST


perl hostnamechange.pl - ohost hwpmg900 -nhost hwpmg608 -domain corp

Correct Answer by Joe Clarke about 8 years 8 months ago

Actually, this may be a bug with the forum, but there looks like you have a space where you shouldn't. The command should be:


perl hostnamechange.pl -ohost hwpmg900 -nhost hwpmg608 -domain corp


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Joe Clarke Thu, 11/13/2008 - 12:19
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

Looks right to me. However, you don't need those arguments, as the script should be able to detect the change. It doesn't hurt to explicitly spell them out, though.

Correct Answer
Joe Clarke Thu, 11/13/2008 - 12:19
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

Actually, this may be a bug with the forum, but there looks like you have a space where you shouldn't. The command should be:


perl hostnamechange.pl -ohost hwpmg900 -nhost hwpmg608 -domain corp


Actions

This Discussion