ProLiant Deployment and Provisioning
1833772 Members
2340 Online
110063 Solutions
New Discussion

Token replacement for IP Adress

 
Network23
Occasional Contributor

Token replacement for IP Adress

I´m using RDP 2.10 with HF1. Can anyone tell me the token for the NIC IP Adress. The token from the Altiris Userguide is %NICyIPADDR% but when i use this token it does not work. Why HP uses different tokens for example the "Altiris" token for the Computername is %COMPNAME% HP uses a different one:
%#!computer@right(name,15)%.
Could you please advice!!
Thanks
1 REPLY 1
Luangsay
Advisor

Re: Token replacement for IP Adress

You've got to change the letter 'y' in the token %NICyIPADDR% by the number of the NIC you want to give the address.

For instance, on my server RDP (version 2.10 too), I want to change the value for NIC 1 in the unattend file. I will write the generic line:

IPAddress=%NIC1IPADDR%

Then I have my in my job:

rem replacetokens .\test_charge\generique.txt .\test_charge\%IPNAME%txt

set unattendfile=test_charge\%IPNAME%txt

Sourygna Luangsay