There is no way to have any kind of If-When clause in the INI file.
You could do it in different other ways.
– Put a SelectServerList parameter in your xen.ini to let the user decide which way to go
Description=”Legacy” Host=”legancy_url” \
– User WDM Enterprise and its Default Device Configuration feature. Create two groups, place the units in one or the other group and assign different xen.ini files.
– Use machine based INI files
There may be other solutions, but these are the ones that first came to my mind.