Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

hostnamechange.pl script check

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

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: hostnamechange.pl script check

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

3 REPLIES
Cisco Employee

Re: hostnamechange.pl script check

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.

Cisco Employee

Re: hostnamechange.pl script check

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

New Member

Re: hostnamechange.pl script check

Got it....thanks for you input.

297
Views
0
Helpful
3
Replies
CreatePlease to create content