Token in kickstart file not converted to hostname

ben stokes's picture

I have a brand new deployment of Altiris (RDP) which we are using to image quite a few new blade servers. A lot of them will have an identical config so I have created a custom kickstart file- well actually I copied the original default.cfg and made some modifications in there, really just locals information, packages, and disk partitioning.



However, I've noticed the computers are not being named properly. The actual hostname is being set to "%#*"select replace([name],' ','') from computer where computer_id={ID}"%"



Which is exactly what it says on line 12 of my kickstart.



# Altiris replacetokens updates %% hostname with DS computer name

network --bootproto=dhcp --hostname=%#*"select replace([name],' ','') from computer where computer_id={ID}"%



Can someone point me in the right direction as to where I am going wrong?